Ruby - String Operations
What will be the output of this Ruby code?
text = <<~MSG
Line 1
Line 2
Line 3
MSG
puts texttext = <<~MSG
Line 1
Line 2
Line 3
MSG
puts text<<~ removes common indent = A [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions