module RuboCop::AST::MethodDispatchNode

def block_node

Returns:
  • (BlockNode, nil) - the `block` node associated with this method
def block_node
  parent if block_literal?
end