lib/meibo/converter.rb in meibo-0.20.0 vs lib/meibo/converter.rb in meibo-0.21.0

- old
+ new

@@ -50,10 +50,10 @@ end end end lambda do |field, field_info| # NOTE: convert blank sourcedId to nil - field = nil if field_info.index.zero? && field.empty? + field = nil if field.respond_to?(:empty?) && field.empty? converter_list.each { |converter| field = converter[field, field_info] } field end end