Sha256: b1af127ce911a9eb1b95903dea48650c9e8a3e90dae2815820ebb7a66ba0464b

Contents?: true

Size: 308 Bytes

Versions: 36

Compression:

Stored size: 308 Bytes

Contents

module Hyrax
  class SelectCollectionTypePresenter
    # @param [CollectionType] a Hyrax::CollectionType
    def initialize(collection_type)
      @collection_type = collection_type
    end

    attr_reader :collection_type
    delegate :title, :description, :admin_set?, :id, to: :collection_type
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.5 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.4 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.3 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.2 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.9.0 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.8.0 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.7.2 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.7.1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.7.0 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.6.0 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-3.0.0.pre.rc1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-3.0.0.pre.beta3 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.5.1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.5.0 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-3.0.0.pre.beta2 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.4.1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-3.0.0.pre.beta1 app/presenters/hyrax/select_collection_type_presenter.rb
hyrax-2.4.0 app/presenters/hyrax/select_collection_type_presenter.rb