From: Caio Chassot Date: 2004-08-06T17:20:46+09:00 Subject: Re: %w for symbols Martin DeMello wrote: >>>%w(a b c).map{|i|i.to_sym} #=> [:a, :b, :c] >>> >>>If that isn't short enough.. then you may want to do >> >>I guess that pretty much misses the point, otherwise I could just go >>ahead and write [:a, :b, :c] > > > are you trying to avoid creating the intermediate strings? Ideally, yes. But I'm just looking for convinience.