module RuboCop::AST::MethodDispatchNode
def lambda_literal?
-
(Boolean)- whether this method is a lambda literal
def lambda_literal? block_literal? && loc.expression && loc.expression.source == '->' end
(Boolean)
- whether this method is a lambda literal
def lambda_literal? block_literal? && loc.expression && loc.expression.source == '->' end