module RuboCop::AST::MethodDispatchNode
def safe_navigation?
-
(Boolean)
- whether the method was called with a connecting dot
def safe_navigation? loc.respond_to?(:dot) && loc.dot && loc.dot.is?('&.') end
(Boolean)
- whether the method was called with a connecting dot
def safe_navigation? loc.respond_to?(:dot) && loc.dot && loc.dot.is?('&.') end