lib/map/struct.rb in map-2.3.0 vs lib/map/struct.rb in map-2.4.0
- old
+ new
@@ -21,10 +21,10 @@
value = @map[key]
end
value.is_a?(Map) ? value.struct : value
end
- Keys = lambda{|*keys| keys.flatten!; keys.compact!; keys.map!{|key| key.to_s}}
+ Keys = lambda{|*keys| keys.flatten!; keys.compact!; keys.map!{|key| key.to_s}} unless defined?(Keys)
delegates = %w(
inspect
)