How do I display an ascii art string in ruby?
<p>I'm trying to use an ascii art string that I made with <a href="https://github.com/miketierney/artii" rel="noreferrer">artii</a> in a ruby program. The string can be generated using the cli as expected:</p>

<p><a href="https://i.stack.imgur.com/etxxO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/etxxO.png" alt="enter image description here"></a></p>

<p>However when I try to save it as a string and either <code>puts</code>, <code>p</code>, or <code>print</code> it, it doesn't work. I thought it might be because the slashes need to be escaped which I've tried to do, but it looks like I'm not gsubing correctly either. How would I go about going from a working string on the cli to a working string in a ruby program that's printing the string to stdout?
<a href="https://i.stack.imgur.com/5oWVz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5oWVz.png" alt="enter image description here"></a></p>

<pre><code>banner = "
  _____       _             _   _       _       
 |  __ \     | |           | \ | |     | |      
 | |__) |   _| |__  _   _  |  \| | ___ | |_ ___ 
 |  _  / | | | '_ \| | | | | . ` |/ _ \| __/ _ \
 | | \ \ |_| | |_) | |_| | | |\  | (_) | |_  __/
 |_|  \_\__,_|_.__/ \__, | |_| \_|\___/ \__\___|
                     __/ |                      
                    |___/                       

"
print banner
print banner.gsub(/\\/, "\\\\")
puts "One slash: \\"
puts "Two slashes: \\\\"
</code></pre>