Class: Symbol

Inherits:
Object show all
Defined in:
lib/mongo_mapper/support.rb

Instance Method Summary collapse

Instance Method Details

#ascObject



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

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

#descObject



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

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