about summary refs log tree commit homepage
path: root/lib/dtas/sink.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/sink.rb')
-rw-r--r--lib/dtas/sink.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/sink.rb b/lib/dtas/sink.rb
index b06e284..3eaab75 100644
--- a/lib/dtas/sink.rb
+++ b/lib/dtas/sink.rb
@@ -66,8 +66,8 @@ class DTAS::Sink # :nodoc:
     super
   end
 
-  def spawn(format, opts = {})
-    raise "BUG: #{self.inspect}#spawn called twice" if @pid
+  def sink_spawn(format, opts = {})
+    raise "BUG: #{self.inspect}#sink_spawn called twice" if @pid
     rv = []
 
     pclass = @nonblock ? DTAS::PipeNB : DTAS::Pipe