From: "Maël Clérambault" Date: 2007-01-10T08:46:53+09:00 Subject: Re: Why is there a seperate Math class? Let me try to make everybody happy : class Numeric Math.methods(false).each { |m| sm = Math.method(m) if Math.method(m).arity == 1 define_method m do sm.call self end end } end irb(main):001:0> require 'math_extend' => true irb(main):002:0> 34.cos => -0.848570274784605 irb(main):003:0> Math.cos 34 => -0.848570274784605 Regards, Ma�l Cl�rambault