I don't think you can do that in straight ruby.   No overloading of
that sort in ruby.

Err, but I think that if it's written as a c-extension to ruby it might work.

 I could be completely wrong on both counts though.

--Kyle