Class: WoopleTheme::Dashboard::EssentialsSectionPresenter
Instance Method Summary
collapse
#render
enforce_definitions, #enforced_methods, #ensure_defined, #initialize
Instance Method Details
#render_completed ⇒ Object
14
15
16
|
# File 'app/presenters/woople_theme/dashboard/essentials_section_presenter.rb', line 14
def render_completed
yield if render?(@delegate.essentials_completed)
end
|
#render_exceptions ⇒ Object
18
19
20
|
# File 'app/presenters/woople_theme/dashboard/essentials_section_presenter.rb', line 18
def render_exceptions
yield if render?(@delegate.essentials_exceptions)
end
|
#render_remaining ⇒ Object
10
11
12
|
# File 'app/presenters/woople_theme/dashboard/essentials_section_presenter.rb', line 10
def render_remaining
yield if render?(@delegate.essentials_remaining)
end
|