Class: WoopleTheme::Dashboard::ExceptionPresenter

Inherits:
ExplicitDelegator show all
Defined in:
app/presenters/woople_theme/dashboard/exception_presenter.rb

Instance Method Summary collapse

Methods inherited from ExplicitDelegator

enforce_definitions, #enforced_methods, #ensure_defined, #initialize

Constructor Details

This class inherits a constructor from ExplicitDelegator

Instance Method Details

#dateObject



16
17
18
# File 'app/presenters/woople_theme/dashboard/exception_presenter.rb', line 16

def date
  WoopleThemeI18n.l(source.completed_on.to_date)
end

#subtitleObject



12
13
14
# File 'app/presenters/woople_theme/dashboard/exception_presenter.rb', line 12

def subtitle
  raise "not implemented"
end

#titleObject



8
9
10
# File 'app/presenters/woople_theme/dashboard/exception_presenter.rb', line 8

def title
  source.name
end