lib/map.rb in map-6.1.0 vs lib/map.rb in map-6.2.0
- old
+ new
@@ -1,8 +1,8 @@
# -*- encoding : utf-8 -*-
class Map < Hash
- Version = '6.1.0' unless defined?(Version)
+ Version = '6.2.0' unless defined?(Version)
Load = Kernel.method(:load) unless defined?(Load)
class << Map
def version
Map::Version
@@ -260,10 +260,10 @@
case value
when Hash
coerce(value)
when Array
- value.map{|v| convert_value(v)}
+ value.map!{|v| convert_value(v)}
else
value
end
end
def convert_value(value)