From 0097770626893fa2bd67cb12c6d75db4a3dda317 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 16 Mar 2010 20:29:12 +0000 Subject: Upgrade CodeRay to 0.9.2 (#3359). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3592 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../coderay-0.7.6.227/lib/coderay/encoders/text.rb | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 vendor/plugins/coderay-0.7.6.227/lib/coderay/encoders/text.rb (limited to 'vendor/plugins/coderay-0.7.6.227/lib/coderay/encoders/text.rb') diff --git a/vendor/plugins/coderay-0.7.6.227/lib/coderay/encoders/text.rb b/vendor/plugins/coderay-0.7.6.227/lib/coderay/encoders/text.rb deleted file mode 100644 index 14282ac5f..000000000 --- a/vendor/plugins/coderay-0.7.6.227/lib/coderay/encoders/text.rb +++ /dev/null @@ -1,32 +0,0 @@ -module CodeRay -module Encoders - - class Text < Encoder - - include Streamable - register_for :text - - FILE_EXTENSION = 'txt' - - DEFAULT_OPTIONS = { - :separator => '' - } - - protected - def setup options - @out = '' - @sep = options[:separator] - end - - def token text, kind - @out << text + @sep if text.is_a? ::String - end - - def finish options - @out.chomp @sep - end - - end - -end -end -- cgit v1.2.3