Sha256: fbbce0c31705c85aa36c7a62be557ec90a31613da9c9934c849862b69a5289f8

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

module DocParser
  # This Output is used for testing purposes.

  # @see Output
  # @!visibility private
  class NilOutput < Output
    def initialize
      @rowcount = 0
    end

    def close
    end

    def write_row(row)
    end

    def add_row(row)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docparser-0.2.2 lib/docparser/output/nil_output.rb
docparser-0.2.0 lib/docparser/output/nil_output.rb
docparser-0.1.6 lib/docparser/output/nil_output.rb