From: Roger Pack Date: 2009-12-19T08:27:04+09:00 Subject: Re: loses scope? Jes炭s Gabriel y Gal叩n wrote: > Because both "class" and "def" keywords create a new scope. They are > not closures, they don't see their surrounding scope. Consider this > other way, which doesn't create new scopes: That I did not know. Thanks! -r -- Posted via http://www.ruby-forum.com/.