From: Gary Wright Date: 2009-02-01T02:04:37+09:00 Subject: Re: global generator of unique symbols On Jan 31, 2009, at 4:15 AM, Thomas Hafner wrote: > is there a global generator of unique symbols? See article > why that can be needed. There I > have defined myself a generator, but that's no real solution: if > software is going to be put together from different libraries, only > one common generator should be used by all software parts to prevent > symbol clash. Perhaps generating a UUID and converting it to a symbol would work for you? uuid = UUID.new sym = uuid.generate(:compact).to_sym UUIDs are discussed in RFC 4122: Gary Wright