module RuboCop::AST::MethodDispatchNode

def binary_operation?

Returns:
  • (Bookean) - whether this method is a binary operation
def binary_operation?
  return false unless loc.selector
  operator_method? && loc.expression.begin_pos != loc.selector.begin_pos
end