[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

immed. values, classes w/o new(), non-marshallables

lostboard2001

11/23/2004 7:34:00 AM

Posted to Rubyforum, I thought I'd try here too. I'm trying to
understand what, if anything, these three groups of slippery objects
have in common:

- Immediate values (Fixnum, SYmbol, true, false, nil), that
ObjectSpace doesn't see

- objects e.g. literal strings that don't construct thru Class#new
(meaning they don't run new() in overriden form or super() form
either)

- objects that can't be marshalled: proc/method objects, singleton and
IO objs, etc, see page 535 of pickaxe 2.

Gene