module RuboCop::AST::MethodDispatchNode
def def_modifier?
-
(Boolean)
- whether the dispatched method is a `def` modifier
def def_modifier? send_type? && [self, *each_descendant(:send)].any?(&:adjacent_def_modifier?) end
(Boolean)
- whether the dispatched method is a `def` modifier
def def_modifier? send_type? && [self, *each_descendant(:send)].any?(&:adjacent_def_modifier?) end