Class: Hyrax::SelectCollectionTypePresenter

Inherits:
Object
  • Object
show all
Defined in:
app/presenters/hyrax/select_collection_type_presenter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(collection_type) ⇒ SelectCollectionTypePresenter

Returns a new instance of SelectCollectionTypePresenter.

Parameters:



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_typeObject (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