nobu.nokada / softhome.net wrote:
> Hi,
> 
> At Wed, 16 Mar 2005 00:49:01 +0900,
> Yukihiro Matsumoto wrote in [ruby-talk:133712]:
> 
>>A "super" without any argument nor parentheses would pass all given
>>arguments and a block to the method in the super class.  I think you
>>wanted to write:
>>
>> class C2 < C1
>>   def initialize( &block )
>>     super()
>>     puts "I went here !"
>>   end
>> end
>>
>>Note empty parentheses after the "super".  
> 
> 
> A "super" (with or without arguments) would pass the block
> automatically, so you'll need "super(&nil)".
> 
If even Matz does mistakes when explaining something about ruby, then how can 
normal people avoid confusion about that feature?

"super(&nil)"? IMHO it is ugly and really unnatural. Why not planning a change 
about this for ruby2?

--
Lionel Thiry