Class: Yt::Collections::Reports
- Defined in:
- lib/yt/collections/reports.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Actions::List
Constructor Details
This class inherits a constructor from Yt::Collections::Base
Instance Method Details
#within(days_range) ⇒ Object
7 8 9 10 |
# File 'lib/yt/collections/reports.rb', line 7 def within(days_range) @days_range = days_range Hash[*flat_map{|daily_value| daily_value}] end |