Class: Krikri::Enrichments::MoveNonDcmiType
- Inherits:
-
Object
- Object
- Krikri::Enrichments::MoveNonDcmiType
- Includes:
- Audumbla::Enrichment
- Defined in:
- lib/krikri/enrichments/move_non_dcmi_type.rb
Overview
Copies non-DCMI Type values from the input fields to the output fields. If
Instance Method Summary collapse
-
#enrich_value(value) ⇒ Object?
The existing value, if it is NOT a DCMI Type value.
Instance Method Details
#enrich_value(value) ⇒ Object?
Returns the existing value, if it is NOT a DCMI Type value.
12 13 14 15 |
# 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 |