From: Mark Hubbart Date: 2004-06-19T00:37:17+09:00 Subject: Re: Which classes are installed on my system? On Jun 18, 2004, at 1:58 AM, Todd Gardner wrote: > Hello everyone, > > Even though these seem extremely silly and simple questions, I haven't > yet seen this information in the FAQ or on the Web. I must be looking > in the wrong places. > > For general information I have looked at > Http://dev.rubycentral.com/book/builtins.html however, my question is > about my specific system. > > How do I see the list of all the classes or methods installed on my > specific system? If you have ri installed, run `ri -c` to get a list of known classes. If the ri database was made properly, It will list allt eh classes installed with Ruby. > Can I determine proper usage of a specific method installed on my > system using a man page or something similar? `ri SomeObject#some_method` or `ri SomeObject::some_method`. If you don't have ri installed (it comes standard with recent versions of Ruby) check out the stdlib docs at http://www.ruby-doc.org/stdlib/ HTH, Mark