Sha256: 4964ab94098faa2bbc74411e1c0fa9704650e38608b96f1369a0525109d2adf7

Contents?: true

Size: 238 Bytes

Versions: 6667

Compression:

Stored size: 238 Bytes

Contents

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

Version data entries

6,667 entries across 6,655 versions & 72 rubygems

Version Path
coderay-1.0.0.831pre lib/coderay/encoders/null.rb
coderay-1.0.0.815pre lib/coderay/encoders/null.rb
coderay-1.0.0.800pre lib/coderay/encoders/null.rb
coderay-1.0.0.798.pre lib/coderay/encoders/null.rb
coderay-1.0.0.788.pre lib/coderay/encoders/null.rb
coderay-1.0.0.778.pre lib/coderay/encoders/null.rb
coderay-1.0.0.738.pre ./lib/coderay/encoders/null.rb