Sha256: 8da028b818471682c770ac62cd1e511095ff24d4279ecae7a26be05d36d5032c

Contents?: true

Size: 396 Bytes

Versions: 7

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Hyrax
  ##
  # A Plain Old Ruby Object (PORO) representing a named group.
  #
  # In Hyku, we replace the PORO with an Application Record.  But there is significant duplication
  # of logic.
  #
  # @see Hyrax::GroupBehavior
  class Group
    include Hyrax::GroupBehavior

    def initialize(name)
      @name = name
    end

    attr_reader :name
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/models/hyrax/group.rb
hyrax-5.0.4 app/models/hyrax/group.rb
hyrax-5.0.3 app/models/hyrax/group.rb
hyrax-5.0.2 app/models/hyrax/group.rb
hyrax-5.0.1 app/models/hyrax/group.rb
hyrax-5.0.0 app/models/hyrax/group.rb
hyrax-5.0.0.rc3 app/models/hyrax/group.rb