Class: Viewable::FormPresenter
- Inherits:
-
ViewPresenter
- Object
- BasePresenter
- ViewablePresenter
- ViewPresenter
- Viewable::FormPresenter
- Defined in:
- app/presenters/viewable/form_presenter.rb
Instance Attribute Summary
Attributes inherited from BasePresenter
Instance Method Summary collapse
-
#initialize(model, context) ⇒ FormPresenter
constructor
A new instance of FormPresenter.
Methods inherited from ViewPresenter
Methods inherited from ViewablePresenter
Methods inherited from BasePresenter
Constructor Details
#initialize(model, context) ⇒ FormPresenter
Returns a new instance of FormPresenter.
3 4 5 6 7 8 |
# File 'app/presenters/viewable/form_presenter.rb', line 3 def initialize(model, context) super if m.not_static? h.cms_form_instance = m.fetch_row(h.cms_form_instance) end end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BasePresenter