From: Sachin Gadkar Date: 2007-01-10T18:06:26+09:00 Subject: Re: instance_eval ------=_Part_1765_5404323.1168419981924 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you very much... I got my answer Let me tell you I am in love with Ruby. On 1/10/07, Justin Collins wrote: > > Sachin Gadkar wrote: > > Hi all, > > I wanted to know the best place where I can find how instance_eval > > works. I > > also wanted to know how the implementation of .each { } in implemented > > for > > Array class. > > > > I also need to say that I have been new to Ruby but old to OO > > programming. > > > > Thanks. > > > > Here is how Array#each is implemented: > http://ruby-doc.org/core/classes/Array.src/M002225.html > > Here is the documentation for Object#instace_eval: > http://ruby-doc.org/core/classes/Object.html#M000343 > > That should get you started. > > -Justin > > -- sachin.gadkar@gmail.com URL : http://nichas143.tripod.com ------=_Part_1765_5404323.1168419981924--