summaryrefslogtreecommitdiff
path: root/sample/html_list.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-13 05:27:29 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-13 05:27:29 +0200
commit6936def023edcdd3c10be99ecb955778f537f42b (patch)
tree858b1fb85376ec240e297adcd3b322f10b537e20 /sample/html_list.rb
parent88b812274a808f69675445a9265dab1d4e41cc44 (diff)
downloadcoderay-6936def023edcdd3c10be99ecb955778f537f42b.tar.gz
cleanup rake_helpers, samples
Diffstat (limited to 'sample/html_list.rb')
-rw-r--r--sample/html_list.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/sample/html_list.rb b/sample/html_list.rb
deleted file mode 100644
index fdfa512..0000000
--- a/sample/html_list.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-$: << '..'
-require 'coderay'
-
-tokens = CodeRay.scan File.read(__FILE__), :ruby
-html = tokens.html(:tab_width => 2, :line_numbers => :inline, :line_number_start => -1)
-
-puts html.page(:title => 'CodeRay HTML Encoder Example')
-
-commment = <<_
-This code must be > 10 lines
-because I want to test the correct adjustment of the line numbers.
-_