Ruby-root interface

Hello,

how could I do the following in Ruby?

ROOT::Math::Minimizer * min = ROOT::Math::factory::CreateMinimizer(minimizer, algoType);

Thank you very much.

gaffus.