Fast encoder producing simple debug output.
It is readable and diff-able and is used for testing.
You cannot fully restore the tokens information from the output, because consecutive :space tokens are merged. Use Tokens#dump for caching purposes.
# File lib/coderay/encoders/debug.rb, line 38 38: def begin_line kind 39: "#{kind}[" 40: end
# File lib/coderay/encoders/debug.rb, line 34 34: def close_token kind 35: ">" 36: end
# File lib/coderay/encoders/debug.rb, line 42 42: def end_line kind 43: "]" 44: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.