Method: RuboCop::AST::DefNode#arguments

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

#argumentsArray<Node>

An array containing the arguments of the method definition.

Returns:

  • (Array<Node>)

    the arguments of the method definition



40
41
42
# File 'lib/rubocop/ast/node/def_node.rb', line 40

def arguments
  children[-2]
end