From: Brian Candler Date: 2011-03-12T19:11:13+09:00 Subject: [ruby-core:35489] [Ruby 1.8 - Bug #4496][Open] ri can't describe Kernel.warn Issue #4496 has been reported by Brian Candler. ---------------------------------------- Bug #4496: ri can't describe Kernel.warn http://redmine.ruby-lang.org/issues/4496 Author: Brian Candler Status: Open Priority: Low Assignee: Category: Target version: ruby -v: ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] It appears to be impossible to read documentation on Kernel.warn, due to overlapping matches. $ ruby -v ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] $ ri 'Kernel.warn' | cat More than one method matched your request. You can refine your search by asking for information on one of: Kernel#warn, Kernel#with_warnings, Kernel#enable_warnings, Kernel#silence_warnings, Kernel#suppress_warnings, Kernel#warn $ ri 'Kernel#warn' | cat More than one method matched your request. You can refine your search by asking for information on one of: Kernel#warn, Kernel#with_warnings, Kernel#enable_warnings, Kernel#silence_warnings, Kernel#suppress_warnings, Kernel#warn $ ri 'Kernel::warn' | cat Nothing known about Kernel::warn Suggested solution: if your search term is an exact match, then display it (don't search for other possible matches) -- http://redmine.ruby-lang.org