Writing multiline string is very simple in Ruby language. We will show three ways to print multiline string.