Permalink
Browse files

fix for ri driver -- RDoc::Markup::List does not have a #concat method.

  • Loading branch information...
1 parent 3fe7b47 commit f0e6ec46cb085429daeee4b020b3345588352562 @erikh committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rdoc/ri/driver.rb
View
@@ -555,7 +555,7 @@ def class_document name, found, klasses, includes
constants = klass.constants.sort_by { |constant| constant.name }
- list.concat constants.map { |constant|
+ list.items.concat constants.map { |constant|
parts = constant.comment.parts if constant.comment
parts << RDoc::Markup::Paragraph.new('[not documented]') if
parts.empty?

0 comments on commit f0e6ec4

Please sign in to comment.