blob: 97724f2d55785bd78ad5e445ccf0ffc210087b0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$: << '..'
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
commment = <<_
This code must be > 10 lines
because I want to test the correct adjustment of the line numbers.
_
|