Tuesday, April 24th, 2007...10:42 am

GEEK: ruby object methods

Jump to Comments

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

puts object.public_methods.sort

Leave a Reply

You must be logged in to post a comment.