Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: instance_eval
Justin Collins
1/9/2007 7:57:00 PM
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/M0...
Here is the documentation for Object#instace_eval:
http://ruby-doc.org/core/classes/Object.ht...
That should get you started.
-Justin
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: instance_eval
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password