lib/hooloo/mozart_hash.rb in hooloo-0.2.1 vs lib/hooloo/mozart_hash.rb in hooloo-0.3.0
- old
+ new
@@ -47,11 +47,11 @@
def initialize(o)
@obj = o
end
# Honestly, we should generate methods when we initially parse the Hash
# instead of doing this crap in method_missing. I'll do that later.
- def method_missing(method)
- @obj[method.to_s]
+ def method_missing(method, *args, &block)
+ @obj[method.to_s] or super
end
def respond_to?(method)
@obj.has_key? method.to_s or super
end
def inspect