Method: Mongoid::Errors::InvalidFieldOperator#operator

Defined in:
lib/mongoid/errors/invalid_field_operator.rb

#operatorString (readonly)

Returns The operator that was used.

Returns:

  • (String)

    The operator that was used.



30
31
32
# File 'lib/mongoid/errors/invalid_field_operator.rb', line 30

def operator
  @operator
end