diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 13:51:30 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 13:51:30 +0000 |
commit | 4f4f09d009298e0a35cff6d42338643146c2af0c (patch) | |
tree | 683dddbd71a459cff74e3057c4e76a2885bba578 /lib/irb | |
parent | e31caff00eaef9237e5825a7e9ccdae80a6fecf0 (diff) | |
download | ruby-4f4f09d009298e0a35cff6d42338643146c2af0c.tar.gz |
* 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
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/cmd/help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |