class Krikri::Enrichments::MoveNonDcmiType

Copies non-DCMI Type values from the input fields to the output fields. If

Public Instance Methods

enrich_value(value) click to toggle source

@param value [Object] the value to enrich

@return [Object, nil] the existing value, if it is NOT a DCMI Type value

# File lib/krikri/enrichments/move_non_dcmi_type.rb, line 12
def enrich_value(value)
  return nil if value.is_a? DPLA::MAP::Controlled::DCMIType
  value
end