From: dblack@... Date: 2003-01-18T08:58:22+09:00 Subject: Re: OT - Re: quick: it responds, it evaluates, and is not empty Hi -- On Sat, 18 Jan 2003, ahoward wrote: > On Sat, 18 Jan 2003 dblack@candle.superlink.net wrote: > > > See -- there was a > > (rejected) RCR for Symbol.new, with some commentary from Matz. > > i have done > > def Symbol.[] s > s.to_s.intern > end > > > which makes intuitive sense to me : > > Symbol['method'] >> :method With a string maybe, but I'm not sure about generalizing it. It's a kind of loose fit for other objects: Symbol[ { "one" => 1 } ] # :one1 David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav