From: Junkone Date: 2008-07-01T18:22:50+09:00 Subject: Re: meaning of %w On Jul 1, 5:08 am, Ryan Davis wrote: > On Jul 1, 2008, at 01:52 , Junkone wrote: > > > what is the meaning of %w. atlest in my copy of rubydoc, i could not > > find the w attribute in sprintf flag characters > > %w doesn't have to do with sprintf afaik. > > Maybe you mean this instead: > > http://www.zenspider.com/Languages/Ruby/QuickRef.html#12 in rails, this is how it create the options for select box. <%= select(:rawdata, :symbol, %w{ AUD.USD-IDEALPRO-CASH EUR.GBP- IDEALPRO-CASH EUR.JPY-IDEALPRO-CASH EUR.USD-IDEALPRO-CASH GBP.USD- IDEALPRO-CASH USD.CAD-IDEALPRO-CASH USD.CHF-IDEALPRO-CASH }) %> what does the %w signify.