Class: GraphStarter::ApplicationPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GraphStarter::ApplicationPresenter
- Defined in:
- app/presenters/graph_starter/application_presenter.rb
Direct Known Subclasses
Instance Method Summary collapse
- #h ⇒ Object
-
#initialize(object, view) ⇒ ApplicationPresenter
constructor
A new instance of ApplicationPresenter.
Constructor Details
#initialize(object, view) ⇒ ApplicationPresenter
Returns a new instance of ApplicationPresenter.
3 4 5 6 |
# File 'app/presenters/graph_starter/application_presenter.rb', line 3 def initialize(object, view) @object, @view = object, view super(@object) end |
Instance Method Details
#h ⇒ Object
8 9 10 |
# File 'app/presenters/graph_starter/application_presenter.rb', line 8 def h @view end |