class ActiveFedora::DelegatedAttribute
def datastream_for_attribute(obj, dsid)
def datastream_for_attribute(obj, dsid) obj.attached_files[dsid] || raise(ArgumentError, "Undefined datastream id: `#{dsid}' in has_attributes") end
def datastream_for_attribute(obj, dsid) obj.attached_files[dsid] || raise(ArgumentError, "Undefined datastream id: `#{dsid}' in has_attributes") end