Class: CalendarAssistant::CLI::LinterEventSetPresenter
- Inherits:
-
EventSetPresenter
- Object
- SimpleDelegator
- EventSetPresenter
- CalendarAssistant::CLI::LinterEventSetPresenter
- Defined in:
- lib/calendar_assistant/cli/linter_event_set_presenter.rb
Instance Method Summary collapse
-
#initialize(obj, config:, event_presenter_class: CLI::LinterEventPresenter) ⇒ LinterEventSetPresenter
constructor
A new instance of LinterEventSetPresenter.
- #title ⇒ Object
Methods inherited from EventSetPresenter
Constructor Details
#initialize(obj, config:, event_presenter_class: CLI::LinterEventPresenter) ⇒ LinterEventSetPresenter
Returns a new instance of LinterEventSetPresenter.
4 5 6 |
# File 'lib/calendar_assistant/cli/linter_event_set_presenter.rb', line 4 def initialize(obj, config:, event_presenter_class: CLI::LinterEventPresenter) super(obj, config: config, event_presenter_class: event_presenter_class) end |
Instance Method Details
#title ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/calendar_assistant/cli/linter_event_set_presenter.rb', line 8 def title rainbow.wrap(<<~OUT) #{event_repository.calendar.id} - looking for events that need attention - all times in #{event_repository.calendar.time_zone} OUT end |