From: Gavin Sinclair Date: 2004-08-06T21:37:24+09:00 Subject: Re: %w for symbols On Friday, August 6, 2004, 9:18:12 PM, Austin wrote: > On Fri, 6 Aug 2004 16:00:32 +0900, Caio Chassot wrote: >> Is there any similar notation to %w[ word word2 word3 ] that returns an >> array of symbols instead of strings? >> >> If not, are there any plans for it in future ruby? Is it a good idea anyway? >> >> (Maybe that's a good example of where we could use macros?) > It seems common enough that it might be nice to have this. Perhaps > %W{} instead of %w{} ? I don't object to the feature either. I think %s{} makes more sense, though. Gavin