summaryrefslogtreecommitdiff
path: root/lib/rdoc/ri
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-27 16:49:22 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-27 16:49:22 +0000
commit4cc67da551f1e34a09af6247770f781f5a9f6b62 (patch)
treed985123d5f7f006224652b73a5eb22d8ff1c74bc /lib/rdoc/ri
parente12ab34fd201cdf840a4888959128a2b6e3220f3 (diff)
Add support for rules in ri output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri')
-rw-r--r--lib/rdoc/ri/ri_formatter.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rdoc/ri/ri_formatter.rb b/lib/rdoc/ri/ri_formatter.rb
index 03fee89d8f..630e475a54 100644
--- a/lib/rdoc/ri/ri_formatter.rb
+++ b/lib/rdoc/ri/ri_formatter.rb
@@ -166,8 +166,12 @@ module RI
when SM::Flow::H
display_heading(conv_html(item.text.join), item.level, @indent)
+
+ when SM::Flow::RULE
+ draw_line
+
else
- fail "Unknown flow element: #{item.class}"
+ fail "xxUnknown flow element: #{item.class}"
end
end