module RuboCop::AST::MethodDispatchNode
def block_literal?
-
(Boolean)
- whether the dispatched method has a block
def block_literal? parent&.block_type? && eql?(parent.send_node) end
(Boolean)
- whether the dispatched method has a block
def block_literal? parent&.block_type? && eql?(parent.send_node) end