On Fri, Dec 13, 2002 at 02:08:54PM +0900, Jim Freeze wrote:
> Well duh, as soon as I hit send I realized that I had not looked far
> enough and that what I had posted would not work. The way Matrix is
> currently written, it is nearly impossible to extend through
> inheritance. So, instead of using a 'is-a' type class, below is a
> 'has-a' type class. This method should work but has the drawback as
> before, every public method of Matrix that you want exposed must be
> wrapped.

Can't you use method_missing hand off any calls you don't explicitly
intercept to the matrix class contained in your class?

-- 
Alan Chen
Digikata Computing
http://digikata.com