class ArcFurnace::PassthroughSink

Attributes

collection[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/arc-furnace/passthrough_sink.rb, line 6
def initialize(options = {})
  @collection = Set.new
end

Public Instance Methods

finalize() click to toggle source
# File lib/arc-furnace/passthrough_sink.rb, line 10
def finalize
  collection.to_a
end
row(object) click to toggle source
# File lib/arc-furnace/passthrough_sink.rb, line 14
def row(object)
  collection << object
end