Class: SolidStackWeb::CableTimeline
- Inherits:
-
Object
- Object
- SolidStackWeb::CableTimeline
- Defined in:
- app/models/solid_stack_web/cable_timeline.rb
Constant Summary collapse
- HOURS =
24
Instance Method Summary collapse
Instance Method Details
#message_buckets ⇒ Object
5 6 7 |
# File 'app/models/solid_stack_web/cable_timeline.rb', line 5 def @message_buckets ||= build_buckets { |rows, from, to| rows.count { |t| t >= from && t < to } } end |
#message_max ⇒ Object
9 10 11 |
# File 'app/models/solid_stack_web/cable_timeline.rb', line 9 def .max || 0 end |