lib/figgy/hash.rb in figgy-0.9.0 vs lib/figgy/hash.rb in figgy-0.9.1

- old
+ new

@@ -41,9 +41,13 @@ def convert_key(key) key.is_a?(Symbol) ? key.to_s : key end def method_missing(m, *args, &block) - self[m] + if m.to_s.end_with? "=" + self[m.to_s.chop] = args.shift + else + self[m] + end end end end