Class: GraphStarter::ApplicationPresenter

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

Direct Known Subclasses

AssetPresenter

Instance Method Summary collapse

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

#hObject



8
9
10
# File 'app/presenters/graph_starter/application_presenter.rb', line 8

def h
  @view
end