class RuboCop::AST::BlockNode

def method_name

Returns:
  • (Symbol) - the name of the dispatched method
def method_name
  send_node.method_name
end