module RuboCop::AST::MethodDispatchNode

def double_colon?

Returns:
  • (Boolean) - whether the method was called with a connecting dot
def double_colon?
  loc.respond_to?(:dot) && loc.dot && loc.dot.is?('::')
end