Method: RuboCop::AST::BlockNode#send_node

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

#send_nodeSendNode

The ‘send` node associated with this block.

Returns:

  • (SendNode)

    the ‘send` node associated with the `block` node



22
23
24
# File 'lib/rubocop/ast/node/block_node.rb', line 22

def send_node
  node_parts[0]
end