From 960881251ea1f30753cfa94574caa315f31c5874 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 11 Jun 2011 17:32:07 +0000 Subject: cleanups --- lib/coderay/encoders/yaml.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/coderay/encoders') diff --git a/lib/coderay/encoders/yaml.rb b/lib/coderay/encoders/yaml.rb index 49cf86c..c12f8d0 100644 --- a/lib/coderay/encoders/yaml.rb +++ b/lib/coderay/encoders/yaml.rb @@ -1,15 +1,15 @@ module CodeRay module Encoders - + # = YAML Encoder # # Slow. class YAML < Encoder - + register_for :yaml - + FILE_EXTENSION = 'yaml' - + protected def setup options require 'yaml' @@ -21,7 +21,6 @@ module Encoders end public - def text_token text, kind @out << [text, kind] end @@ -43,6 +42,6 @@ module Encoders end end - + end end -- cgit v1.2.1