Reflection on Methods : Object « Reflection « Ruby
- Ruby
- Reflection
- Object
Reflection on Methods
# method returns a list publicly accessible methods from an object, including the methods accessible
# from the ancestors of the object.
p Object.methods.sort
Related examples in the same category