From: Tom Sawyer Date: 2003-01-16T15:16:38+09:00 Subject: Re: ruby-dev summary 19198-19345 On Wednesday 15 January 2003 11:10 pm, Joel VanderWerf wrote: > Gavin Sinclair wrote: > > One difference between this and a here-doc is the initial newline, > > which is a shame. > > Yes, but the following gets to be idiomatic after a while: > > str = %{\ > first line > second line > } nice, never thought of that. then again you can also use the first line too: str = %Q{first line second line} -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------