[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-core
Subject: Re: Change to #new (was OpenStruct#initialize to yield self)
From: nobu.nokada () softhome ! net
Date: 2004-02-20 23:15:47
Message-ID: 200402202315.i1KNFjat003925 () sharui ! nakada ! niregi ! kanuma ! tochigi ! jp
[Download RAW message or body]
Hi,
At Sat, 21 Feb 2004 05:19:29 +0900,
Austin Ziegler wrote in [ruby-core:02479]:
> So if we're yielding *and* calling the super of the method, we have to call
> super {} unless we want the super to yield as well.
It passes empty block to super, or you can pass no block by
super(&nil).
--
Nobu Nakada
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic