lib/hashr.rb in hashr-0.0.16 vs lib/hashr.rb in hashr-0.0.17
- old
+ new
@@ -44,10 +44,10 @@
def [](key)
super(key.to_sym)
end
def []=(key, value)
- super(key, value.is_a?(Hash) ? self.class.new(value, {}) : value)
+ super(key.to_sym, value.is_a?(Hash) ? self.class.new(value, {}) : value)
end
def respond_to?(name)
true
end