Module: Mongo::DBExt

Defined in:
lib/mongo_db/driver/database.rb

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(collection_name) ⇒ Object (protected)



3
4
5
# File 'lib/mongo_db/driver/database.rb', line 3

def method_missing collection_name
  self.collection collection_name
end