comparison vendor/gems/coderay-1.0.0/lib/coderay/encoders/null.rb @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 module CodeRay
2 module Encoders
3
4 # = Null Encoder
5 #
6 # Does nothing and returns an empty string.
7 class Null < Encoder
8
9 register_for :null
10
11 def text_token text, kind
12 # do nothing
13 end
14
15 end
16
17 end
18 end