Method: RuboCop::AST::ForNode#keyword

Defined in:
lib/rubocop/ast/node/for_node.rb

#keywordString

Returns the keyword of the ‘for` statement as a string.

Returns:

  • (String)

    the keyword of the ‘until` statement



12
13
14
# File 'lib/rubocop/ast/node/for_node.rb', line 12

def keyword
  'for'
end