From 9f4c7ab7553f9be7c9d14da0ba7462ad746c2f5d Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 10 Jul 2006 00:32:57 +0000 Subject: Big re-indenting - no more tabs! --- lib/coderay/encoders/yaml.rb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/coderay/encoders/yaml.rb') diff --git a/lib/coderay/encoders/yaml.rb b/lib/coderay/encoders/yaml.rb index b842647..47f64a4 100644 --- a/lib/coderay/encoders/yaml.rb +++ b/lib/coderay/encoders/yaml.rb @@ -1,22 +1,22 @@ module CodeRay module Encoders - # = YAML Encoder - # - # Slow. - class YAML < Encoder + # = YAML Encoder + # + # Slow. + class YAML < Encoder - register_for :yaml + register_for :yaml - FILE_EXTENSION = 'yaml' + FILE_EXTENSION = 'yaml' - protected - def compile tokens, options - require 'yaml' - @out = tokens.to_a.to_yaml - end + protected + def compile tokens, options + require 'yaml' + @out = tokens.to_a.to_yaml + end - end + end end end -- cgit v1.2.1