File: multiline_strings.rb

package info (click to toggle)
ruby-beautify 0.97.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 340 kB
  • sloc: ruby: 628; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# Test for multiline string
def m (x)
puts "This is multi-line string. It's line1 \
 It's line 2\
              And this is\n line3
     This line should not be mutated"
puts "This is multi line interpolated string #{
x
}"
end