Sha256: c6cd8ded785e7628950f0b8f200acbc8133cd827eb83e7149d8fcb49637b23b0

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

#                                                                          
# File 'nil.rb' created on 18 mar 2008 at 12:41:27.                    
#
# See 'dokkit.rb' or +LICENSE+ for licence information.                      
#                                                                          
# (C) 2008 Andrea Fazzi <andrea.fazzi@alca.le.it> (and contributors). 
#                                                                          

require 'dokkit/filters/base'
require 'dokkit/filters'

module Dokkit
  module Filters
    class Nil < Base
      def filter(text)
        text
      end
    end
  end
end

Dokkit::Filters.register('nil') { Dokkit::Filters::Nil.new }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dokkit-0.3.0 lib/dokkit/filters/nil.rb