From: Chiyuan Zhang Date: 2007-12-18T15:19:49+09:00 Subject: Re: Is there any way to pass further the "hidden" block? Hmm... what i'm looking for is just like super. As all you mentioned above, maybe there's no such feature yet. :) 2007/12/18, Gary Wright : > > On Dec 17, 2007, at 3:11 AM, Chiyuan Zhang wrote: > > def bar > > foo { yield } > > end > > > > but that create another block, not the original one. > > This is the only technique I'm aware of. I it > is still faster than explicitly reifying the outer block > before calling foo. > > Somewhat related: Super will pass along an implicit > block. To disable this do: > > super(a, b, &nil) > > Gary Wright > > > >