Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
ancestors « Reflection « Ruby
Ruby
Reflection
ancestors
1.
Look at an object's ancestors with Module's ancestors method, which returns a list of both classes and modules
2.
Get ancestors