From: matz@... (Yukihiro Matsumoto) Date: 2003-02-05T05:01:28+09:00 Subject: Re: [contest] Code challenge Hi, In message "[contest] Code challenge" on 03/02/05, Mauricio Fern�ndez writes: | You are expected to subclass Unbreakable::A and find a way to override | method #a. Normally all your code should be in the indicated position. | Class B must be directly derived from Unbreakable::A. The following is | not a valid solution: |class B | def a; puts "You won!"; end | def kind_of? a | true | end |end | | Warning | | This mission is, to the best of my current knowledge, impossible. Is this a valid answer? class B < Unbreakable::A def a; puts "You won!"; end # PUT YOUR CODE HERE! p Unbreakable::A.instance_eval{@no_override.clear} def a; puts "You won!"; end end matz.