Sha256: 8460a7830a636a0d0d5075f35a9ee71d9c70e8a128af009f9a99ae7f971cbad7

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

# A Null writer that does absolutely nothing with records given to it,
# just drops em on the floor.
class Traject::NullWriter
  attr_reader :settings

  def initialize(argSettings)
  end


  def serialize(context)
    # null
  end

  def put(context)
    # null
  end

  def close
    # null
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
traject-0.16.0 lib/traject/null_writer.rb
traject-0.15.0 lib/traject/null_writer.rb
traject-0.14.1 lib/traject/null_writer.rb
traject-0.13.2 lib/traject/null_writer.rb