From: "David A. Black" Date: 2007-09-22T20:15:44+09:00 Subject: Re: %w| a b c| %w_a b c_ %w all work Hi -- On Sat, 22 Sep 2007, SpringFlowers AutumnMoon wrote: > %w|a b c| > > %w_a b c_ > > %w > > all work > is there an official doc or book that says so? > > seems like the first character that after "%w" can be used as a > delimiter. Pretty much, though some characters won't work. My favorite % trick is: ruby -e 'p %q abc ' "abc" :-) David -- Upcoming training from Ruby Power and Light, LLC: * Intro to Ruby on Rails, Edison, NJ, October 23-26 * Advancing with Rails, Edison, NJ, November 6-9 Both taught by David A. Black. See http://www.rubypal.com for more info!