class RuboCop::AST::AndNode
to all ‘until` nodes within RuboCop.
node when the builder constructs the AST, making its methods available
A node extension for `until` nodes. This will be used in place of a plain
def alternate_operator
-
(String)
- the alternate of the `and` operator
def alternate_operator logical_operator? ? SEMANTIC_AND : LOGICAL_AND end
def inverse_operator
-
(String)
- the inverse of the `and` operator
def inverse_operator logical_operator? ? LOGICAL_OR : SEMANTIC_OR end