Class: MongoScope::ScopedCursor
- Inherits:
-
Object
- Object
- MongoScope::ScopedCursor
- Includes:
- FromHash
- Defined in:
- lib/mongo_scope.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
Instance Method Summary collapse
Methods included from FromHash
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &b) ⇒ Object
53 54 55 |
# File 'lib/mongo_scope.rb', line 53 def method_missing(sym,*args,&b) cursor.send(sym,*args,&b) end |
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
46 47 48 |
# File 'lib/mongo_scope.rb', line 46 def cursor @cursor end |