From 0c9418057607d6aaf11754978662dfb60b3865fa Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sat, 20 Aug 2011 17:09:50 +0200 Subject: cleanup CodeRay.scan* methods --- lib/coderay/encoders/_map.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/coderay/encoders/_map.rb') 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. -- cgit v1.2.1