On Jul 9, 2007, at 9:53 AM, Rob Biedenharn wrote:

>
> On Jul 9, 2007, at 10:35 AM, Peter Versteegen wrote:
>
>> Hi,
>>
>> I'm relatively new to Ruby and haven't programmed in a while and  
>> am trying to get back  into a good programming habit.
>>
>> In the reference:  http://www.caliban.org/ruby/rubyguide.shtml#ri
>>
>> it states that, in irb, if you do 42.<Tab> you get a list of all  
>> the methods that pertain to the class 42, a very useful function,  
>> except that it doesn't work on my system (Mac OS 10.4.10, and ruby  
>> 1.8.6 and irb 0.9.5(05/04/13)  -- Note the date on irb!)
>>
>> Also, when I do ri I get a list that ends with (END).  I can't  
>> find a clean exit from it (ctrl z seems to be the only thing that  
>> works), but it leaves, using ps, a suspended process.
>>
>> How can I cleanup all of this?
>>
>> Thanks.
>>
>> Pete Versteegen
>> -----------------------
>> pversteegen / gcnetmail.net
>
> Put these lines into a file .irbrc in your home directory
>
> require 'rubygems'
> require 'irb/completion'

You don't need the gems require line here.

James Edward Gray II