Module: MongoScope

Defined in:
lib/mongo_scope.rb

Defined Under Namespace

Modules: CollMethods, ScopeMethods Classes: EqScope, MongoRow, Scope, ScopedCollection, ScopedCursor

Class Method Summary collapse

Class Method Details

.use!Object



124
125
126
# File 'lib/mongo_scope.rb', line 124

def self.use!
  [CollMethods,ScopeMethods].each { |mod| ::Mongo::Collection.send(:include,mod) }
end