class RuboCop::AST::UntilNode
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 do?
-
(Boolean)
- whether the `until` node has a `do` keyword
def do? loc.begin&.is?('do') end
def inverse_keyword
-
(String)
- the inverse keyword of the `until` statement
def inverse_keyword 'while' end
def keyword
-
(String)
- the keyword of the `until` statement
def keyword 'until' end