lib/figgy/hash.rb in figgy-1.1.0 vs lib/figgy/hash.rb in figgy-1.2.0
- old
+ new
@@ -34,9 +34,13 @@
self[convert_key(key)] = value
end
self
end
+ def respond_to?(m, *)
+ super || key?(convert_key(m))
+ end if RUBY_VERSION == "1.8.7"
+
def respond_to_missing?(m, *)
key?(convert_key(m)) || super
end
protected