Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/dm-aggregates/support/symbol.rb
Instance Method Summary collapse
Instance Method Details
#avg ⇒ Object
14 15 16 |
# File 'lib/dm-aggregates/support/symbol.rb', line 14 def avg DataMapper::Query::Operator.new(self, :avg) end |
#count ⇒ Object
2 3 4 |
# File 'lib/dm-aggregates/support/symbol.rb', line 2 def count DataMapper::Query::Operator.new(self, :count) end |
#max ⇒ Object
10 11 12 |
# File 'lib/dm-aggregates/support/symbol.rb', line 10 def max DataMapper::Query::Operator.new(self, :max) end |
#min ⇒ Object
6 7 8 |
# File 'lib/dm-aggregates/support/symbol.rb', line 6 def min DataMapper::Query::Operator.new(self, :min) end |
#sum ⇒ Object
18 19 20 |
# File 'lib/dm-aggregates/support/symbol.rb', line 18 def sum DataMapper::Query::Operator.new(self, :sum) end |