I was wondering if there was a plug-in for irb that allowed you to interrogate what methods were available to an object, but I found out thanks to the #ruby-lang channel on irc by Archiloque and drbrain, you can ask the object directly with the following code; my_object.public_methods.sort
Update: After a quick google search, found this stackoverflow.
Update: OOo, this even gets better, people are really willing to help, if only you ask. User “Kenichi” on #ruby irc gave this tip for tab completion in irb;
“raluxgaza: i have “require ‘irb/completion'” in my ~/.irbrc and i can hit tab-tab after a ‘Object.’ and it spits out all Object’s methods, similar to bash.”. Another sweet tip.
Then they suggested this gem