Trixy abbreviation

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

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 W.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs