module RuboCop::AST::MethodDispatchNode

def dot?

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