Class: Schlepp::Sink::Filter::Chunker::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/schlepp/sink/filter/chunker.rb

Instance Method Summary collapse

Constructor Details

#initialize(observer) ⇒ Builder

Returns a new instance of Builder.



8
9
10
# File 'lib/schlepp/sink/filter/chunker.rb', line 8

def initialize(observer)
  @observer = observer
end

Instance Method Details

#new(writer) ⇒ Object



12
13
14
# File 'lib/schlepp/sink/filter/chunker.rb', line 12

def new(writer)
  Schlepp::Sink::TableObject::Filter::Writer.new(writer, @observer)
end