From: Daniel Schierbeck Date: 2006-08-11T22:05:10+09:00 Subject: Re: Need to understand code junkone1@gmail.com wrote: > What does this term mean %w....... It's a shorthand used for creating arrays of strings: %w{a b c d} #=> ["a", "b", "c", "d"] Basically, the character that follows `%w' is the delimiter. So: %w foo bar baz => ["foo", "bar", "baz"] i.e. %w& foo bar & #=> ["foo", "bar"] If the starting delimiter is `(', `{', `[', or `<', then the matching closing symbol will be the closing delimiter: %w #=> ["foo", "bar", "baz"] Read more on Cheers, Daniel