On 5/2/07, Robert Dober <robert.dober / gmail.com> wrote:
> On 5/2/07, Rick DeNatale <rick.denatale / gmail.com> wrote:
> <snip>
> >
> >  class A
> >    instance_eval {@var = 'foo'}
> I guess I lost you here Rick, is this for didactic purpose, or am I
> wrong by saying that
>
> instance_eval { @var = 'foo' }
>
> is *exactly* the same as
>
> @var = 'foo'
>
> ....
> <snip>

D'oh!  You're right of course.

It's like those times when I ask my wife if she's seen my eyeglasses
and she tells me that I'm wearing them!

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/