From: matz@... (Yukihiro Matsumoto) Date: 2003-02-08T03:23:19+09:00 Subject: Re: catching super() with method_missing Hi, In message "catching super() with method_missing" on 03/02/08, Brad Hilton writes: |I was recently surprised to find that I can't do: | |class Outer | def method_missing(methID, *args, &block) | p methID.id2name | end |end | |class Inner < Outer | def foo | super | end |end | |obj = Inner.new |obj.foo | |It raises: "super: no superclass method `foo' (NameError)" | |Is this behavior intentional? Why should super() assume that we won't |catch the undefined method with method_missing? No, I couldn't think of a case like this. It will be fixed. Thank you. matz.