From 4f4f09d009298e0a35cff6d42338643146c2af0c Mon Sep 17 00:00:00 2001 From: keiju Date: Wed, 29 Jun 2011 13:51:30 +0000 Subject: [PATCH] * lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/irb/cmd/help.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 380453df6f..edc26901bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 29 22:49:10 2011 Keiju Ishitsuka + + * lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760]. + Wed Jun 29 22:04:14 2011 CHIKANAGA Tomoyuki * lib/tracer.rb: Tracer.on only if required by -r command-line option. diff --git a/lib/irb/cmd/help.rb b/lib/irb/cmd/help.rb index b946ec01fc..67cf89990b 100644 --- a/lib/irb/cmd/help.rb +++ b/lib/irb/cmd/help.rb @@ -26,7 +26,7 @@ module IRB end names.each do |name| begin - Ri.get_info_for(name.to_s) + Ri.display_name(name.to_s) rescue RDoc::RI::Error puts $!.message end