Sha256: c9cf02dec9340ea9885db3d5efff930ff2cc9299b551a076fe5190b267caa5ff
Contents?: true
Size: 317 Bytes
Versions: 7
Compression:
Stored size: 317 Bytes
Contents
module ActiveFedora class DatastreamHash < Hash def initialize (obj) @obj = obj super() end def [] (key) if key == 'DC' && !has_key?(key) ds = Datastream.new(@obj.inner_object, key, true) ds.content self[key] = ds end super end end end
Version data entries
7 entries across 7 versions & 1 rubygems