title: Ruby use gsub within string interpolation
body: <p>I'm trying to use gsub within a string interpolation</p>
  
  <pre><code>puts "Some words #{Lookup1[input[2]].gsub("[", "(")} some more words"
  </code></pre>
  
  <p>The input array looks like this:</p>
  
  <pre><code>input = [0,22,["Accounting","Customer Relations"],nil,nil,nil,nil]
  </code></pre>
  
  <p>My goal is to replace [] with ()</p>
  
  <p>Thanks </p>