Class: WoopleTheme::Dashboard::SectionPresenter

Inherits:
ExplicitDelegator show all
Defined in:
app/presenters/woople_theme/dashboard/section_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

#renderObject



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

def render
  yield if @delegate.enabled?
end