diff options
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 |