I have run the following command in
String.methods - Object.methods
You have somewhat misleading title, because if you want to get a list of
String class methods
then you are actually on the right track, because Object#
methods returns a list of singleton methods.
But the documentation you have linked contains a list of instance methods, defined in
To get this list, you want to use Module#