-1 $: << '..' 0 require 'coderay' 1 2 tokens = CodeRay.scan File.read(__FILE__), :ruby 3 html = tokens.html(:tab_width => 2, :line_numbers => :inline, :line_number_start => -1) 4 5 puts html.page(:title => 'CodeRay HTML Encoder Example') 6 7 commment = <<_ 8 This code must be > 10 lines 9 because I want to test the correct adjustment of the line numbers. 10 _