|Keep It Simple, Stupid|
Re: Multiple instances of the same base classby Riales (Hermit)
|on Feb 10, 2012 at 22:33 UTC||Need Help??|
Usually, whenever you call a package's new method, it should already be returning a brand new instance of itself, so I would think what you have is already mostly correct.
Some other things I noticed though...
I think instead of:
You actually want:
This is because use base establishes a ISA relationship for between your current class and the specified base class(es).
Beyond that, change this section:
To something like this:
That should work properly.