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
#asc ⇒ Object
181 |
# File 'lib/mongo_mapper/support.rb', line 181 def asc; MongoMapper::OrderOperator.new(self, 'asc') end |
#desc ⇒ Object
182 |
# File 'lib/mongo_mapper/support.rb', line 182 def desc; MongoMapper::OrderOperator.new(self, 'desc') end |