Module: Rollup::Model
- Defined in:
- lib/rollup/model.rb
Instance Attribute Summary collapse
-
#rollup_column ⇒ Object
Returns the value of attribute rollup_column.
Instance Method Summary collapse
Instance Attribute Details
#rollup_column ⇒ Object
Returns the value of attribute rollup_column.
3 4 5 |
# File 'lib/rollup/model.rb', line 3 def rollup_column @rollup_column end |
Instance Method Details
#rollup(*args, **options, &block) ⇒ Object
5 6 7 8 |
# File 'lib/rollup/model.rb', line 5 def rollup(*args, **, &block) Aggregator.new(self).rollup(*args, **, &block) nil end |