Do you know a good way to check whether a class is a subclass of a
certain class (given the class object, not an instance)?
one way would be to check all of klass.superclass,
klass.superclass.superclass till nil
or klass.new.is_a?( cklass )
Accidentaly, I tried to such a operation:
klass < cklass
and it seems to work, but doesn’t seem to be documented
can somebody acknowledge this?