mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add support for rules in ri output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
68d292236d
commit
3009adaee2
3 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue