Sha256: e7ffc2b795a849178dcaa8f5c94f98b5308fd945311671b56acd361b29e0a86d

Contents?: true

Size: 196 Bytes

Versions: 33

Compression:

Stored size: 196 Bytes

Contents

module ActiveFedora
  module Attributes
    module PrimaryKey

      # If the id is "/foo:1" then to_key ought to return ["foo:1"]
      def to_key
        id && [id]
      end

    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
active-fedora-9.0.8 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.5.0 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.4.3 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.4.2 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.4.1 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.4.0 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.3.0 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.2.1 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.2.0 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.2.0.rc2 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.2.0.rc1 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.1.2 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.1.1 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.1.0 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.1.0.rc1 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.0.6 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.0.5 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.0.4 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.0.3 lib/active_fedora/attributes/primary_key.rb
active-fedora-9.0.2 lib/active_fedora/attributes/primary_key.rb