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



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

def render_exceptions
  yield if render?(section.electives_exceptions)
end

#render_historyObject



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

def render_history
  yield if render?(section.electives_history)
end