Class: Symbol
- Defined in:
- lib/gems/json_pure-1.1.3/lib/json/add/rails.rb,
lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb,
lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb
Instance Method Summary collapse
- #asc ⇒ Object
- #avg ⇒ Object
- #count ⇒ Object
- #desc ⇒ Object
- #eql ⇒ Object
- #gt ⇒ Object
- #gte ⇒ Object
- #in ⇒ Object
- #like ⇒ Object
- #lt ⇒ Object
- #lte ⇒ Object
- #max ⇒ Object
- #min ⇒ Object
- #not ⇒ Object
- #sum ⇒ Object
- #to_json(*a) ⇒ Object
Instance Method Details
#asc ⇒ Object
34 35 36 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 34 def asc DataMapper::Query::Operator.new(self, :asc) end |
#avg ⇒ Object
14 15 16 |
# File 'lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb', line 14 def avg DataMapper::Query::Operator.new(self, :avg) end |
#count ⇒ Object
2 3 4 |
# File 'lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb', line 2 def count DataMapper::Query::Operator.new(self, :count) end |
#desc ⇒ Object
38 39 40 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 38 def desc DataMapper::Query::Operator.new(self, :desc) end |
#eql ⇒ Object
22 23 24 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 22 def eql DataMapper::Query::Operator.new(self, :eql) end |
#gt ⇒ Object
2 3 4 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 2 def gt DataMapper::Query::Operator.new(self, :gt) end |
#gte ⇒ Object
6 7 8 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 6 def gte DataMapper::Query::Operator.new(self, :gte) end |
#in ⇒ Object
30 31 32 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 30 def in DataMapper::Query::Operator.new(self, :in) end |
#like ⇒ Object
26 27 28 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 26 def like DataMapper::Query::Operator.new(self, :like) end |
#lt ⇒ Object
10 11 12 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 10 def lt DataMapper::Query::Operator.new(self, :lt) end |
#lte ⇒ Object
14 15 16 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 14 def lte DataMapper::Query::Operator.new(self, :lte) end |
#max ⇒ Object
10 11 12 |
# File 'lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb', line 10 def max DataMapper::Query::Operator.new(self, :max) end |
#min ⇒ Object
6 7 8 |
# File 'lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb', line 6 def min DataMapper::Query::Operator.new(self, :min) end |
#not ⇒ Object
18 19 20 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/support/symbol.rb', line 18 def not DataMapper::Query::Operator.new(self, :not) end |
#sum ⇒ Object
18 19 20 |
# File 'lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb', line 18 def sum DataMapper::Query::Operator.new(self, :sum) end |
#to_json(*a) ⇒ Object
32 33 34 |
# File 'lib/gems/json_pure-1.1.3/lib/json/add/rails.rb', line 32 def to_json(*a) to_s.to_json(*a) end |