summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/to_flow.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-19 00:06:19 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-19 00:06:19 +0000
commit3fcadd852a91eaa461736715009228afb05c31c9 (patch)
treede06a2bb9bbbeffa5e12213e875a57fe269a2028 /lib/rdoc/markup/to_flow.rb
parent8c2c2ebf385b7f3eda71c1a4200633bd9efaded3 (diff)
downloadruby-3fcadd852a91eaa461736715009228afb05c31c9.tar.gz
ruby-3fcadd852a91eaa461736715009228afb05c31c9.tar.xz
ruby-3fcadd852a91eaa461736715009228afb05c31c9.zip
* lib/rdoc/markup: Remove ListBase and Line constants.
* lib/rdoc/ri: Allow output IO to be specified. * test/rdoc/parser/test_parse_c.rb: Move up one level, fixed. * test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to match new class name, updated to match new classes. * test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests. * test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of RDoc::RI::AttributeManager tests. * test/rdoc/test_simple_markup.rb: Moved to match new class name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/to_flow.rb')
-rw-r--r--lib/rdoc/markup/to_flow.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rdoc/markup/to_flow.rb b/lib/rdoc/markup/to_flow.rb
index 58ae52be2..cb7da5fa8 100644
--- a/lib/rdoc/markup/to_flow.rb
+++ b/lib/rdoc/markup/to_flow.rb
@@ -24,12 +24,12 @@ class RDoc::Markup
class ToFlow
LIST_TYPE_TO_HTML = {
- RDoc::Markup::ListBase::BULLET => [ "<ul>", "</ul>" ],
- RDoc::Markup::ListBase::NUMBER => [ "<ol>", "</ol>" ],
- RDoc::Markup::ListBase::UPPERALPHA => [ "<ol>", "</ol>" ],
- RDoc::Markup::ListBase::LOWERALPHA => [ "<ol>", "</ol>" ],
- RDoc::Markup::ListBase::LABELED => [ "<dl>", "</dl>" ],
- RDoc::Markup::ListBase::NOTE => [ "<table>", "</table>" ],
+ :BULLET => [ "<ul>", "</ul>" ],
+ :NUMBER => [ "<ol>", "</ol>" ],
+ :UPPERALPHA => [ "<ol>", "</ol>" ],
+ :LOWERALPHA => [ "<ol>", "</ol>" ],
+ :LABELED => [ "<dl>", "</dl>" ],
+ :NOTE => [ "<table>", "</table>" ],
}
InlineTag = Struct.new(:bit, :on, :off)