Top Level Namespace

Defined Under Namespace

Modules: MongoMapper Classes: Array, Binary, Boolean, Date, Float, Hash, Integer, NilClass, Object, ObjectId, Set, String, Symbol, Time

Instance Method Summary collapse

Instance Method Details

#ascObject



181
# File 'lib/mongo_mapper/support.rb', line 181

def asc;  MongoMapper::OrderOperator.new(self, 'asc') end

#descObject



182
# File 'lib/mongo_mapper/support.rb', line 182

def desc; MongoMapper::OrderOperator.new(self, 'desc') end