Find all the available instance methods for a given class

Public, Ruby General


Created: Mar 07, 2016     Updated: Mar 07, 2016

To see all the instance methods available on a given class

1 - from a class object call .instance_methods on the class (i.e. User.instance_methods)

2 - from an instance of the class, call .methods on the instance (i.e. user_1.methods)