[Ironruby-core] How to extend builtin classes?
kitti.k at gmail.com
Sun Oct 7 02:01:18 EDT 2007
How do we extend inbuilt classes. For example Float doesn't have *
method implemented. I tried adding this method:
public static object Multiply(double self, double value)
// TODO: overflow
return self * value;
but did not work after compilation. It still complains that * method
is not implemented on Float.
More information about the Ironruby-core