From: Jeremy McAnally Date: 2008-10-20T13:57:03+09:00 Subject: Re: symbol confusions!! Just for fun, you can also use any delimiter you want in place of {}. >> %w( see me run ) => ["see", "me", "run"] >> %q/ fun time / => " fun time " >> %w* fun time! * => ["fun", "time!"] >> %r# ha # => / ha / --Jeremy On Sun, Oct 19, 2008 at 3:37 AM, Artem Voroztsov wrote: > 2008/10/17 Jay Pangmi : >> wow!! thanks guys.. Now things've already started making sense.. >> -- >> Posted via http://www.ruby-forum.com/. >> >> > > Threre is also %s{..}: > > %q{abc def} #=> String "abc def" > %s{abc def} #=> Symbol :"abc def" > > > Just my 2 cents :) > > Artem > > -- http://jeremymcanally.com/ http://entp.com/ http://omgbloglol.com My books: http://manning.com/mcanally/ http://humblelittlerubybook.com/ (FREE!)