Class: MenuPresenter

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
app/presenters/menu_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(menu) ⇒ MenuPresenter

Returns a new instance of MenuPresenter.



4
5
6
# File 'app/presenters/menu_presenter.rb', line 4

def initialize(menu)
  super(ThemePresentation.wrap_collection(menu, MenuSectionPresenter))
end