From: Adam Prescott Date: 2012-02-01T01:22:57+09:00 Subject: Re: why we need heredoc --14dae9399df32af02e04b7d5600b Content-Type: text/plain; charset=UTF-8 On Tue, Jan 31, 2012 at 15:12, Robert Klemme wrote: > > [snip] > > 16:11:44 ~$ cat -n x > 1 str=%q{ > 2 there are "double" and 'single' > 3 quotes! > 4 And even #{does not} harm. > 5 } > 6 puts str > 7 p str > 16:11:46 ~$ But! $ ruby -e '%q{{}' -e:1: unterminated string meets end of file --14dae9399df32af02e04b7d5600b--