Module: Criteria::Desc

Extended by:
Base
Defined in:
lib/mumuki/classroom/models/sorting.rb

Class Method Summary collapse

Methods included from Base

!, bson_type, to_bson

Class Method Details

.negatedObject



84
85
86
# File 'lib/mumuki/classroom/models/sorting.rb', line 84

def self.negated
  Asc
end

.valueObject



80
81
82
# File 'lib/mumuki/classroom/models/sorting.rb', line 80

def self.value
  -1
end