GEEK: ruby object methods

If you want a list of all a ruby object’s methods, try this:

puts object.public_methods.sort

Post a Comment

You must be logged in to post a comment.