module ActiveFedora::Attributes::PrimaryKey
Public Instance Methods
to_key()
click to toggle source
If the id is “/foo:1” then to_key
ought to return [“foo:1”]
# File lib/active_fedora/attributes/primary_key.rb, line 5 def to_key id && [id] end