Class: WoopleTheme::Dashboard::ElectivesSectionPresenter

Inherits:
SectionPresenter show all
Defined in:
app/presenters/woople_theme/dashboard/electives_section_presenter.rb

Instance Method Summary collapse

Methods inherited from SectionPresenter

#render

Methods inherited from ExplicitDelegator

enforce_definitions, #enforced_methods, #ensure_defined, #initialize

Constructor Details

This class inherits a constructor from ExplicitDelegator

Instance Method Details

#render_exceptionsObject



14
15
16
# File 'app/presenters/woople_theme/dashboard/electives_section_presenter.rb', line 14

def render_exceptions
  yield if render?(@delegate.electives_exceptions)
end

#render_historyObject



10
11
12
# File 'app/presenters/woople_theme/dashboard/electives_section_presenter.rb', line 10

def render_history
  yield if render?(@delegate.electives_history)
end