Your question asks what `%W` means (uppercase "W"), but your example uses `%w` (lowercase "w"). They mean subtly different things, so which do you want to know about?
– Jon CairnsApr 11 '13 at 09:11
2 Answers2
2
%w creates an array based on the words in it (whitespace separated).
So
%w(the and over)
Will become
["the", "and", "over"]
It is a commonly used method in ruby.
So a portion of your string will be capitalized, unless that portion is either "the", "and" or "over".