Mega Code Archive

 
Categories / Ruby / Reflection
 

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