[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Trixy abbreviation

Andreas Farre

1/25/2006 8:43:00 AM


Hi all,

There's a thing that's been bugging me for quite some time now. If you
read Programming Ruby's section about the object model you will notice
that modules are included by inserting proxy classes between the including
class and its superclass; where the proxy class has an "iv_tbl" pointer
pointing to the module. This is implemented as a struct-based linked list
in the interpreter, where the name "iv_tbl" pops up again. So my question
is: what does the abbreviation iv mean?

Cheers,
Andreas

--
some cannot be created more equal than others



1 Answer

Jim Weirich

1/25/2006 9:15:00 AM

0

Andreas Farre wrote:
> Hi all,
>
> There's a thing that's been bugging me for quite some time now. If you
> read Programming Ruby's section about the object model you will notice
> that modules are included by inserting proxy classes between the
> including
> class and its superclass; where the proxy class has an "iv_tbl" pointer
> pointing to the module. This is implemented as a struct-based linked
> list
> in the interpreter, where the name "iv_tbl" pops up again. So my
> question
> is: what does the abbreviation iv mean?

My guess is iv_tbl = "instance variable table"

-- Jim Weirich

--
Posted via http://www.ruby-....