Sha256: 489e5fcf9fa4af88428feaa20ccf0e767b94189fd439987c483d7e2b3c4274bf

Contents?: true

Size: 247 Bytes

Versions: 6

Compression:

Stored size: 247 Bytes

Contents

class Collection < ActiveFedora::Base
  include Hydra::Collection
  include CurationConcern::CollectionModel
  include Hydra::Collections::Collectible

  def can_be_member_of_collection?(collection)
    collection == self ? false : true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
curate-0.6.4 app/repository_models/collection.rb
curate-0.6.3 app/repository_models/collection.rb
curate-0.6.1 app/repository_models/collection.rb
curate-0.6.0 app/repository_models/collection.rb
curate-0.5.6 app/repository_models/collection.rb
curate-0.5.5 app/repository_models/collection.rb