On 10/4/05, Eustaquio Rangel de Oliveira J <eustaquiorangel / yahoo.com> wrote: > --- Yukihiro Matsumoto <matz / ruby-lang.org> wrote: > > ObjectSpace.each_object does not give you immediate > > objects such as > > fixnums and symbols. > > For what he needs maybe the 1.8.3 Symbol.all_symbols > method can be used? > > s = :taq > Symbol.all_symbols > Symbol.all_symbols.select {|v| v.to_s=="taq"} > > Correct me if I'm wrong please. :-) Wow! I did not kown about #all_symbols. Then when I tired it... Oh my! There are A LOT of Symbols. Given that, I think I'll be sticking to separate storage. Thanks! T.