lib/hydra/works/services/characterization_service.rb in hydra-works-0.6.0 vs lib/hydra/works/services/characterization_service.rb in hydra-works-0.7.0

- old
+ new

@@ -103,11 +103,11 @@ # Check parser_config then self for matching term. # Return property symbol or nil def property_for(term) if mapping.key?(term) && object.respond_to?(mapping[term]) mapping[term] - else - term if object.respond_to?(term) + elsif object.respond_to?(term) + term end end def append_property_value(property, value) value = object[property] + [value] if object.class.multiple?(property)