Calling method through variable

use the Object.send instance method

class Klass   def sum(a, b)      a + b   end end

k = Klass.new m = "sum"

k.send m.to_sym, 1, 2 => 3

Chris