From: Leslie Viljoen Date: 2008-06-13T18:07:24+09:00 Subject: Re: a simple patch for the ri utility On Thu, Jun 12, 2008 at 8:39 PM, Daniel Choi wrote: > Hi everyone > > I wrote a simple patch for the ri Ruby documentation viewer that makes > to easier to look up ambiguous methods. Please check it out and send > or post me feedback. > > Here's the link: > > http://danielchoi.com/software/ri-enhanced.html I had that ambiguous lookup problem yesterday! This is great. Here's a patch for your patch that (hopefully always) shows the version of the gem which holds the method: entries.each_with_index do |m, i| version = m.path_name.split(File::SEPARATOR)[7] STDOUT.puts "%2d %s (%s)" % [i+1, m.full_name, version] end Now can you make it work with qri? Les