summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-17 19:29:16 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-17 19:29:16 +0000
commitef6ec88ccb0db365facedb0365c8cbf5664c5391 (patch)
tree66d4b3056f70c574c71f27703ce721300882736d /sample
parent91cff0fdf866faf3f1a84db17b50e38845631f14 (diff)
downloadruby-ef6ec88ccb0db365facedb0365c8cbf5664c5391.tar.gz
ruby-ef6ec88ccb0db365facedb0365c8cbf5664c5391.tar.xz
ruby-ef6ec88ccb0db365facedb0365c8cbf5664c5391.zip
Fix namespacing
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/rdoc/markup/rdoc2latex.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/sample/rdoc/markup/rdoc2latex.rb b/sample/rdoc/markup/rdoc2latex.rb
index 26563b75d..aa8079eb9 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}"