Method: RuboCop::AST::BlockNode#method_name

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

#method_nameSymbol

The name of the dispatched method as a symbol.

Returns:

  • the name of the dispatched method



82
83
84
# File 'lib/rubocop/ast/node/block_node.rb', line 82

def method_name
  send_node.method_name
end