diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-08-20 17:09:50 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-08-20 17:09:50 +0200 |
commit | 0c9418057607d6aaf11754978662dfb60b3865fa (patch) | |
tree | 558b8ce33309de9ef28ad901459d96ddf1c46bf5 /lib/coderay/encoders/_map.rb | |
parent | c073e4d256354d0d25fa65d1bfb0ab754198ff0a (diff) | |
download | coderay-0c9418057607d6aaf11754978662dfb60b3865fa.tar.gz |
cleanup CodeRay.scan* methods
Diffstat (limited to 'lib/coderay/encoders/_map.rb')
-rw-r--r-- | lib/coderay/encoders/_map.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/coderay/encoders/_map.rb b/lib/coderay/encoders/_map.rb index e5cbdeb..4cca196 100644 --- a/lib/coderay/encoders/_map.rb +++ b/lib/coderay/encoders/_map.rb @@ -8,7 +8,8 @@ module Encoders :remove_comments => :comment_filter, :stats => :statistic, :term => :terminal, - :tty => :terminal + :tty => :terminal, + :yml => :yaml # No default because Tokens#nonsense should raise NoMethodError. |