diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 19:29:16 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 19:29:16 +0000 |
commit | 6d59907c0f34cae8ce23be7c64f094dfddfed2b5 (patch) | |
tree | 66d4b3056f70c574c71f27703ce721300882736d /sample | |
parent | b6dff84accf80618b16ff36cca5a7eae9fc5d600 (diff) | |
download | ruby-6d59907c0f34cae8ce23be7c64f094dfddfed2b5.tar.gz |
Fix namespacing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r-- | sample/rdoc/markup/rdoc2latex.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sample/rdoc/markup/rdoc2latex.rb b/sample/rdoc/markup/rdoc2latex.rb index 26563b75da..aa8079eb90 100644 --- a/sample/rdoc/markup/rdoc2latex.rb +++ b/sample/rdoc/markup/rdoc2latex.rb @@ -1,12 +1,11 @@ #!/usr/local/bin/ruby -# Illustration of a script to convert an RDoc-style file to a LaTeX -# document +# Illustration of a script to convert an RDoc-style file to a LaTeX document -require 'rdoc/markup/simple_markup' -require 'rdoc/markup/simple_markup/to_latex' +require 'rdoc/markup' +require 'rdoc/markup/to_latex' -p = SM::SimpleMarkup.new -h = SM::ToLaTeX.new +p = RDoc::Markup.new +h = RDoc::Markup::ToLaTeX.new #puts "\\documentclass{report}" #puts "\\usepackage{tabularx}" |