aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/class_module.rb
diff options
context:
space:
mode:
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