Possible Duplicate:
Look up all descendants of a class in Ruby
So, let's say that we have:
class LivingBeing
class Animal
end
class Bacteria
end
class Virus
end
end
class Fungi < LivingBeing
end
How do I check what subclasses LivingBeing
has? I know that we have Klass.ancestors
but what's the method to see the opposite of ancestors?