lib/mandy/reducers/base_reducer.rb in mandy-0.5.23 vs lib/mandy/reducers/base_reducer.rb in mandy-0.5.24

- old
+ new

@@ -15,10 +15,10 @@ def execute setup if self.respond_to?(:setup) last_key, values = nil, [] @input.each_line do |line| - key, value = line.split(KEY_VALUE_SEPERATOR) + key, value = line.split(KEY_VALUE_SEPERATOR, 2) value.chomp! last_key = key if last_key.nil? if key != last_key reducer(last_key, values) last_key, values = key, [] \ No newline at end of file