lib/inifile.rb in actionio-inifile-2.0.3 vs lib/inifile.rb in actionio-inifile-2.0.4
- old
+ new
@@ -479,10 +479,10 @@
property.strip!
value.strip!
if property.empty?
current_section['values'] ||= []
- current_section['values'] << value
+ current_section['values'] << value.dup
else
current_section[property.dup] = unescape_value(value.dup)
end
property.slice!(0, property.length)