Method: MongoModel::MongoOrder::Clause#==
- Defined in:
- lib/mongomodel/support/mongo_order.rb
#==(other) ⇒ Object Also known as: eql?
70 71 72 |
# File 'lib/mongomodel/support/mongo_order.rb', line 70 def ==(other) other.is_a?(self.class) && field == other.field && order == other.order end |