aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/class_module.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-28 22:08:56 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-28 22:08:56 +0000
commite2efe8e81dc7e9fce40b024df6a20bbf4b830350 (patch)
tree942e66e071e759c7db670a42daeac26c7437f25b /lib/rdoc/class_module.rb
parent90d5bcf9104fe58887cf705b718a9c7b537b51a5 (diff)
downloadruby-e2efe8e81dc7e9fce40b024df6a20bbf4b830350.tar.gz
Import RDoc 3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/class_module.rb')
-rw-r--r--lib/rdoc/class_module.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/class_module.rb b/lib/rdoc/class_module.rb
index 1e75699ffa..64ccfdabd6 100644
--- a/lib/rdoc/class_module.rb
+++ b/lib/rdoc/class_module.rb
@@ -118,7 +118,8 @@ class RDoc::ClassModule < RDoc::Context
def comment= comment
return if comment.empty?
- comment = "#{@comment}\n---\n#{normalize_comment comment}" unless
+ comment = normalize_comment comment
+ comment = "#{@comment}\n---\n#{comment}" unless
@comment.empty?
super