David Alan Black wrote:
> 
> On Sun, 17 Feb 2002, Matt Kussow wrote:
> 
> > The following script seems to work with ruby version 1.6.5, but not
> > with 1.6.6.  Is this a bug or new "correct behavior"?
> 
> [block not propagating through method calls]
> 
> It's new correct behavior -- see [ruby-talk:30971] and Matz's response
> in [ruby-talk:30979].
> 
> David
> 
Thanks for the pointers, David.

I noticed that the block does propogate automatically when super is called. 
Does anyone know if this behavior will also be "fixed"?  The following script
works in both 1.6.5 and 1.6.6.

------------------------------------
#!/usr/bin/env ruby
class Base
    def each
        yield 1
    end
end

class Derived < Base
    def each
        super
    end
end

Derived.new.each { |x| print x, "\n" }
---------------------------------------

Matt