diff options
author | murphy <murphy@rubychan.de> | 2011-07-04 00:38:27 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-07-04 00:38:27 +0000 |
commit | 6a52b213edf1f146fb72a055466a35fe219e5a0d (patch) | |
tree | 2f0b49ff6ecbce2b24fc56d7eb9a2a883136bc5a /lib/coderay/encoders/_map.rb | |
parent | 498df2b7654c210c8f47e2757efc33cd94689b57 (diff) | |
download | coderay-6a52b213edf1f146fb72a055466a35fe219e5a0d.tar.gz |
cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/s
Diffstat (limited to 'lib/coderay/encoders/_map.rb')
-rw-r--r-- | lib/coderay/encoders/_map.rb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/coderay/encoders/_map.rb b/lib/coderay/encoders/_map.rb index c9a20cc..24ada0a 100644 --- a/lib/coderay/encoders/_map.rb +++ b/lib/coderay/encoders/_map.rb @@ -2,15 +2,16 @@ module CodeRay module Encoders map \ - :loc => :lines_of_code, - :term => :terminal, - :tty => :terminal, - :plain => :text, - :plaintext => :text, + :loc => :lines_of_code, + :html => :page, + :plain => :text, + :plaintext => :text, :remove_comments => :comment_filter, - :stats => :statistic + :stats => :statistic, + :term => :terminal, + :tty => :terminal - # No default because Tokens#nonsense would not raise NoMethodError. + # No default because Tokens#nonsense should raise NoMethodError. end end |