From: Matthew Desmarais Date: 2005-11-23T08:15:46+09:00 Subject: Re: what is the ruby way to do this? ako... wrote: >sorry, what is 'ri'? > > ri is a commend line program that may or may not have been installed with your distribution of ruby. It's a viewer for the documentation that was (hopefully) also installed with your disctribution of ruby. If you type "ri Hash.new" it will display information on the class method Hash.new. If you were to use the form "ri Hash#keys" then you weould be requesting information about the instance method keys that may be called on a hash object. Try it, and if you don't have it installed then someone can help you get it set up. Regards, Matthew