Subject: Re: ObjectSpace.each_object, but not Symbols?
From: nobu.nokada softhome.net
Date: Tue, 4 Oct 2005 23:06:39 +0900
References: 6135
In-reply-to: 6135
Hi,
At Tue, 4 Oct 2005 22:35:03 +0900,
TRANS wrote in [ruby-core:06135]:
> ObjectSpace.each_object(Symbol){ |s| p s }
> => 0
Symbols, Fixnums, true, false and nil are special objects,
which are not located in the object space.
--
Nobu Nakada