Class: Yt::Collections::Views
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/views.rb', line 7 def within(days_range) @days_range = days_range Hash[*flat_map{|daily_view| daily_view}] end |