title: Ruby convert string to method name
body: <p>I have two methods defined in my ruby file.  </p>
  
  <pre><code>def is_mandatory(string)
        puts xyz
  end
  def is_alphabets(string)
        puts abc 
  end 
  </code></pre>
  
  <p>An array containing the names of the methods. </p>
  
  <pre><code>    methods = ["is_mandatory", "is_alphabets"]
  </code></pre>
  
  <p>When I do the following </p>
  
  <pre><code>    methods.each do |method| puts method.concat("(\"abc\")") end 
  </code></pre>
  
  <p>It just displays,  is_mandatory("abc") is_alphabets("abc") rather than actually calling the method. </p>
  
  <p>How can i convert the string to method name? 
  Any help is greatly appreciated. </p>
  
  <p>Cheers!!</p>