ancestors « Reflection « Ruby






1.Look at an object's ancestors with Module's ancestors method, which returns a list of both classes and modules
2.Get ancestors