Is there a way to apply a %feature to a class and all its sub-classes?
I am using SWIG to wrap the geos (geos.refractions.net) library, which
makes use of vectors like this:
There are number of subclasses of Geometry, including Point, Polygon, etc.
Anyway, for this to work in Ruby, I have to track the object that can be
put into the vector so that I can implement a mark function (for more
details, see the Ruby chapter in the SWIG manual). I can of course do this: