Hi -- On Sun, 8 Feb 2009, Albert Schlef wrote: > Mike Gold wrote: >> The thing to remember is that local variables are always determined at >> parse time. > > Yeah. That's why debuggers list local varibales even before we arrive at > the assignment to them. It's also the reason for the classic example: if false x = 1 end p x # nil p y # Error: unknown which never fails to widen some eyes :-) David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management!