RosettaCodeData/Task/Literals-String/Ruby/literals-string-2.rb

5 lines
141 B
Ruby
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
a = 42
"double quotes with \"embedded quote\"\nnewline and variable interpolation: #{a} % 10 = #{a % 10}"
%Q(same as above)
%|same as above|