title: ruby send method passing multiple parameters
body: <p>Trying to create objects and call methods dynamically by</p>
  
  <pre><code>Object.const_get(class_name).new.send(method_name,parameters_array)
  </code></pre>
  
  <p>which is working fine when</p>
  
  <pre><code>Object.const_get(RandomClass).new.send(i_take_arguments,[10.0])
  </code></pre>
  
  <p>but throwing wrong number of arguments 1 for 2 for</p>
  
  <pre><code>Object.const_get(RandomClass).new.send(i_take_multiple_arguments,[25.0,26.0])
  </code></pre>
  
  <p>The Random Class defined is </p>
  
  <pre><code>class RandomClass
  def i_am_method_one
      puts "I am method 1"
  end
  def i_take_arguments(a)
      puts "the argument passed is #{a}"
  end
  def i_take_multiple_arguments(b,c)
      puts "the arguments passed are #{b} and #{c}"
  end
      end
  </code></pre>
  
  <p>Can someone help me on how to send mutiple parameters to a ruby method dynamically</p>