From: "Peña, Botp" Date: 2006-04-24T09:30:19+09:00 Subject: Re: nuby: %w to understand quotes Justin Collins [mailto:collinsj@seattleu.edu] : # In that case, wouldn't it be easier to just do # # ["sample", "short sample", "there is quite a number of strings longer # than this"] that's what i'm doing now (instead of escaping). But as much as possible, I would like to quote only when needed. Right now, irb(main):004:0* %w{test this is a test} => ["test", "this", "is", "a", "test"] irb(main):005:0> %w{test "this is" "a test"} => ["test", "\"this", "is\"", "\"a", "test\""] irb(main):006:0> The quotes have no use. Maybe ruby 1.9 can make use of them. kind regards -botp