diff options
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/null.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/coderay/encoders/null.rb b/lib/coderay/encoders/null.rb index 00de909..73ba47d 100644 --- a/lib/coderay/encoders/null.rb +++ b/lib/coderay/encoders/null.rb @@ -1,20 +1,18 @@ module CodeRay module Encoders - + # = Null Encoder # # Does nothing and returns an empty string. class Null < Encoder - + register_for :null - - protected - - def token(*) + + def text_token text, kind # do nothing end - + end - + end end |