class RuboCop::AST::BlockNode
def lambda?
-
(Boolean)
- whether the `block` literal belongs to a lambda
def lambda? send_node.method?(:lambda) end
(Boolean)
- whether the `block` literal belongs to a lambda
def lambda? send_node.method?(:lambda) end