lib/solrizer/extractor.rb in solrizer-1.1.2 vs lib/solrizer/extractor.rb in solrizer-1.2.0

- old
+ new

@@ -36,9 +36,10 @@ # @return [String] def self.format_node_value values if values.nil? return "" else + values = [values] unless values.respond_to? :map return values.map{|val| val.gsub(/\s+/,' ').strip}.join(" ") end end # Instance Methods