Class: Golden::ApplicationPresenter
- Inherits:
-
Object
- Object
- Golden::ApplicationPresenter
- Extended by:
- ActiveModel::Naming, ActiveModel::Translation
- Includes:
- ActiveModel::AttributeAssignment
- Defined in:
- lib/golden/objects/application/application_presenter.rb
Direct Known Subclasses
QueryRecordPresenter, QueryResultPresenter, SingleFormPresenter
Instance Method Summary collapse
-
#initialize(accessors = {}) ⇒ ApplicationPresenter
constructor
A new instance of ApplicationPresenter.
Constructor Details
#initialize(accessors = {}) ⇒ ApplicationPresenter
Returns a new instance of ApplicationPresenter.
11 12 13 |
# File 'lib/golden/objects/application/application_presenter.rb', line 11 def initialize(accessors = {}) assign_attributes(accessors || {}) end |