Mega Code Archive
Categories
/
Ruby
/
Reflection
Want to know what constants the Object class (or some other class) has Use the constants method from Module (output is truncate
p Object.constants.sort