Class: MongoScope::EqScope
- Inherits:
-
Object
- Object
- MongoScope::EqScope
- Includes:
- FromHash
- Defined in:
- lib/mongo_scope.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
Methods included from FromHash
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
117 118 119 |
# File 'lib/mongo_scope.rb', line 117 def field @field end |
#val ⇒ Object
Returns the value of attribute val.
117 118 119 |
# File 'lib/mongo_scope.rb', line 117 def val @val end |
Instance Method Details
#find_ops ⇒ Object
119 120 121 |
# File 'lib/mongo_scope.rb', line 119 def find_ops {field => val} end |