map 4.6.0 → 4.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/map.rb +2 -2
- data/map.gemspec +1 -1
- metadata +3 -3
data/lib/map.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Map < Hash
|
2
|
-
Version = '4.6.
|
2
|
+
Version = '4.6.1' unless defined?(Version)
|
3
3
|
Load = Kernel.method(:load) unless defined?(Load)
|
4
4
|
|
5
5
|
class << Map
|
@@ -626,7 +626,7 @@ class Map < Hash
|
|
626
626
|
def respond_to?(method)
|
627
627
|
has_key = has_key?(method)
|
628
628
|
setter = method.to_s =~ /=\Z/o
|
629
|
-
(!has_key and setter) or has_key or super
|
629
|
+
!!((!has_key and setter) or has_key or super)
|
630
630
|
end
|
631
631
|
|
632
632
|
def id
|
data/map.gemspec
CHANGED
metadata
CHANGED