Method: MongoModel::Scope#==
- Defined in:
- lib/mongomodel/support/scope.rb
#==(other) ⇒ Object
115 116 117 118 119 120 121 122 123 124 |
# File 'lib/mongomodel/support/scope.rb', line 115 def ==(other) case other when Scope klass == other.klass && collection == other.collection && == other. when Array to_a == other.to_a end end |