class RuboCop::AST::DefNode

def arguments

Returns:
  • (Array) - the arguments of the method definition
def arguments
  children[-2]
end