Hi --

On Mon, 20 Jan 2003, Gavin Sinclair wrote:

> On Tuesday, January 21, 2003, 12:38:24 AM, Jim wrote:
>
> > Hi:
>
> > I was wondering, to create an array I usually do
>
> %w{a b c}  #=>> ["a", "b", "c"]
>
> > Is there a built-in way to do this and get symbols?
> > For example:
>
> %w{:a :b :c} #=>> [:a, :b, :c]

Those are strings, not symbols.


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav