view vendor/gems/coderay-1.0.0/lib/coderay/encoders/null.rb @ 959:910830dc222a cannam

Merge from branch "bug_521"
author Chris Cannam
date Tue, 16 Oct 2012 15:37:03 +0100
parents cbb26bc654de
children
line wrap: on
line source
module CodeRay
module Encoders
  
  # = Null Encoder
  #
  # Does nothing and returns an empty string.
  class Null < Encoder
    
    register_for :null
    
    def text_token text, kind
      # do nothing
    end
    
  end
  
end
end