Method: TempestTime::Helpers::TimeHelper#week_dates

Defined in:
lib/tempest_time/helpers/time_helper.rb

#week_dates(first_day) ⇒ Object



89
90
91
# File 'lib/tempest_time/helpers/time_helper.rb', line 89

def week_dates(first_day)
  (0..6).map { |days| first_day + days }
end