From: Yusuke Endoh Date: 2010-05-21T00:39:17+09:00 Subject: [ruby-core:30332] [Bug #3084](Assigned) ri shows the same description twice Issue #3084 has been updated by Yusuke Endoh. Status changed from Feedback to Assigned Target version set to 1.9.2 Hi, 2010/5/14 Tomo Kazahaya : > It seems to be fixed for most of the classes. > Though Integer is still showing this symptom... Thank you! Confirmed. Eric, how about this patch? diff --git a/lib/rdoc/class_module.rb b/lib/rdoc/class_module.rb index 16b85d7..aeff33c 100644 --- a/lib/rdoc/class_module.rb +++ b/lib/rdoc/class_module.rb @@ -150,7 +150,7 @@ class RDoc::ClassModule < RDoc::Context if comment then document = parse @comment - comment.parts.concat document.parts + comment.parts.replace document.parts @comment = comment end -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3084 ---------------------------------------- http://redmine.ruby-lang.org