From: ts Date: 2002-04-13T23:31:58+09:00 Subject: Re: Rudy idiom for enumeranting parents of a node? >>>>> "D" == David Alan Black writes: D> I don't think that's such a hack. Actually, until 1.6.6, the block D> was actually propagated upward automatically, so in < 1.6.6 you can do D> this: Well, I'll not say that the block was propagated. The block was accessible for the current call and the next call, i.e. with this example : def a yield "aa" b end def b yield "bb" c end def c yield "cc" end a {|l| p l} #a and #b can access the block, but #c give an error. D> "@parent.parents(*args) &block", which I tried first, gave me a D> no-block error. Well, what you have written is interpreted @parent.parents(*args) & block() Guy Decoux