Method: RuboCop::AST::MethodDispatchNode#method_name

Defined in:
lib/rubocop/ast/node/mixin/method_dispatch_node.rb

#method_nameSymbol

The name of the dispatched method as a symbol.

Returns:

  • (Symbol)

    the name of the dispatched method



21
22
23
# File 'lib/rubocop/ast/node/mixin/method_dispatch_node.rb', line 21

def method_name
  node_parts[1]
end