From: Philliam Auriemma Date: 2009-12-19T15:25:05+09:00 Subject: Re: loses scope? On Dec 18, 3:27 pm, Roger Pack wrote: > 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: Ah thanks for posting that, I'm rather new to ruby and that was confusing me.