Module: Criteria::Base

Included in:
Asc, Desc
Defined in:
lib/mumuki/classroom/models/sorting.rb

Instance Method Summary collapse

Instance Method Details

#!Object



60
61
62
# File 'lib/mumuki/classroom/models/sorting.rb', line 60

def !
  negated
end

#bson_typeObject



52
53
54
# File 'lib/mumuki/classroom/models/sorting.rb', line 52

def bson_type
  value.bson_type
end

#to_bson(*args) ⇒ Object



56
57
58
# File 'lib/mumuki/classroom/models/sorting.rb', line 56

def to_bson(*args)
  value.to_bson(*args)
end