Method: RuboCop::AST::UntilNode#do?
- Defined in:
- lib/rubocop/ast/node/until_node.rb
#do? ⇒ Boolean
Checks whether the ‘until` node has a `do` keyword.
30 31 32 |
# File 'lib/rubocop/ast/node/until_node.rb', line 30 def do? loc.begin&.is?('do') end |