Class: Mongo::DB
- Inherits:
-
Object
- Object
- Mongo::DB
- Defined in:
- lib/mongo_db/driver/database.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(collection_name) ⇒ Object
2 3 4 |
# File 'lib/mongo_db/driver/database.rb', line 2 def method_missing collection_name self[collection_name] end |