Class: Dsu::Views::EntryGroup::Shared::NoEntriesToDisplayForWeekOf
- Inherits:
-
NoEntriesToDisplay
- Object
- NoEntriesToDisplay
- Dsu::Views::EntryGroup::Shared::NoEntriesToDisplayForWeekOf
- Defined in:
- lib/dsu/views/entry_group/shared/no_entries_to_display_for_week_of.rb
Instance Method Summary collapse
-
#initialize(time:, options: {}) ⇒ NoEntriesToDisplayForWeekOf
constructor
A new instance of NoEntriesToDisplayForWeekOf.
Methods inherited from NoEntriesToDisplay
Methods included from Support::TimeFormatable
dd_mm_yyyy, formatted_time, mm_dd, mm_dd_yyyy, timezone_for, yyyy_mm_dd, yyyy_mm_dd_or_through_for
Methods included from Support::ColorThemable
apply_theme, #prompt_with_options
Constructor Details
#initialize(time:, options: {}) ⇒ NoEntriesToDisplayForWeekOf
Returns a new instance of NoEntriesToDisplayForWeekOf.
10 11 12 13 14 |
# File 'lib/dsu/views/entry_group/shared/no_entries_to_display_for_week_of.rb', line 10 def initialize(time:, options: {}) super(times: [time.beginning_of_week, time.end_of_week], options: ) @time = time end |