Class: Hyrax::SelectCollectionTypePresenter
- Inherits:
-
Object
- Object
- Hyrax::SelectCollectionTypePresenter
- Defined in:
- app/presenters/hyrax/select_collection_type_presenter.rb
Instance Attribute Summary collapse
-
#collection_type ⇒ Object
readonly
Returns the value of attribute collection_type.
Instance Method Summary collapse
-
#initialize(collection_type) ⇒ SelectCollectionTypePresenter
constructor
A new instance of SelectCollectionTypePresenter.
Constructor Details
#initialize(collection_type) ⇒ SelectCollectionTypePresenter
Returns a new instance of SelectCollectionTypePresenter.
4 5 6 |
# File 'app/presenters/hyrax/select_collection_type_presenter.rb', line 4 def initialize(collection_type) @collection_type = collection_type end |
Instance Attribute Details
#collection_type ⇒ Object (readonly)
Returns the value of attribute collection_type.
8 9 10 |
# File 'app/presenters/hyrax/select_collection_type_presenter.rb', line 8 def collection_type @collection_type end |