Class: ActiveAnalytics::ViewsPerDay::Day
- Inherits:
-
Object
- Object
- ActiveAnalytics::ViewsPerDay::Day
- Defined in:
- app/models/active_analytics/views_per_day.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
readonly
Returns the value of attribute day.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(day, total) ⇒ Day
constructor
A new instance of Day.
Constructor Details
#initialize(day, total) ⇒ Day
Returns a new instance of Day.
31 32 33 |
# File 'app/models/active_analytics/views_per_day.rb', line 31 def initialize(day, total) @day, @total = day, total end |
Instance Attribute Details
#day ⇒ Object (readonly)
Returns the value of attribute day.
30 31 32 |
# File 'app/models/active_analytics/views_per_day.rb', line 30 def day @day end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
30 31 32 |
# File 'app/models/active_analytics/views_per_day.rb', line 30 def total @total end |