Class: ActiveReporter::Tracker::Base

Inherits:
Aggregator::Base show all
Defined in:
lib/active_reporter/tracker/base.rb

Direct Known Subclasses

Delta, Value

Instance Attribute Summary

Attributes inherited from Aggregator::Base

#name, #options, #report

Instance Method Summary collapse

Methods inherited from Aggregator::Base

#aggregate, #default_value, #initialize, #sql_value_name

Constructor Details

This class inherits a constructor from ActiveReporter::Aggregator::Base

Instance Method Details

#aggregatorObject



8
9
10
# File 'lib/active_reporter/tracker/base.rb', line 8

def aggregator
  options[:aggregator] || name
end

#prior_aggregatorObject



12
13
14
# File 'lib/active_reporter/tracker/base.rb', line 12

def prior_aggregator
  options[:prior_aggregator] || aggregator
end