Skip to content

Commit 021e818

Browse files
committed
Removed HACK since Document#accept works
1 parent b3e86ef commit 021e818

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/rdoc/markup/document.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,7 @@ def accept visitor
5656
visitor.start_accepting
5757

5858
@parts.each do |item|
59-
case item
60-
when RDoc::Markup::Document then # HACK
61-
visitor.accept_document item
62-
else
63-
item.accept visitor
64-
end
59+
item.accept visitor
6560
end
6661

6762
visitor.end_accepting

0 commit comments

Comments
 (0)