Method: Mutant::AST::Meta::Send#binary_method_operator?

Defined in:
lib/mutant/ast/meta/send.rb

#binary_method_operator?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test for binary operator implemented as method

Returns:

  • (Boolean)


42
43
44
# File 'lib/mutant/ast/meta/send.rb', line 42

def binary_method_operator?
  Types::BINARY_METHOD_OPERATORS.include?(selector)
end