From: Robert Dober Date: 2010-05-21T17:46:33+09:00 Subject: Re: OMG, why are there so many Strings in ObjectSpace! On Fri, May 21, 2010 at 8:35 AM, timr wrote: > ObjectSpace.each_object(String).each{|str| hash[str.object_id] = str} > > I find that most of these strings appear to be paths to ruby files. I > am curious if everyone has a similarly large set of string objects in > their ObjectSpace, or is this a result of my personalized setup? Sorry really did not see what you were looking for, somehow missed your post, my bad. I checked and my string path objects are from $:, the global include path. Cheers R. > > -- The best way to predict the future is to invent it. -- Alan Kay