Class: ArcFurnace::Sink

Inherits:
Object
  • Object
show all
Defined in:
lib/arc-furnace/sink.rb

Instance Method Summary collapse

Instance Method Details

#finalizeObject

If the sink needs to perform any clean-up (closing file handles, etc), do it here.



17
18
19
# File 'lib/arc-furnace/sink.rb', line 17

def finalize

end

#prepareObject

Handle any pre-processing here.



11
12
13
# File 'lib/arc-furnace/sink.rb', line 11

def prepare

end

#row(row) ⇒ Object

The only required method to implement. #row is called for each output row and a sink must handle each.



6
7
8
# File 'lib/arc-furnace/sink.rb', line 6

def row(row)
  raise "Unimplemented!"
end