lib/hydra/works/services/characterization_service.rb
# Assign values of the instance properties from the metadata mapping :prop => val
Assign values of the instance properties from the metadata mapping :prop => val
Assign values of the instance properties from the metadata mapping : prop = > val
def store_metadata(terms)
        terms.each_pair do |term, value|
          property = property_for(term)
          next if property.nil?
          Array(value).each { |v| append_property_value(property, v) }
        end
      end
def store_metadata ( terms ) terms . each_pair do | term , value | property = property_for ( term ) next if property . nil? Array ( value ) . each { | v | append_property_value ( property , v ) } end end
Assign values of the instance properties from the metadata mapping :prop => val
Assign values of the instance properties from the metadata mapping : prop = > val
# Array-ify the value to avoid a conditional here
terms
<not_specific>