From: Martin DeMello Date: 2004-08-06T16:41:26+09:00 Subject: Re: %w for symbols Caio Chassot 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? martin