From b95a51440b6378847c4ab5dd4cf9e96e18b5f241 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 19 Jan 2015 09:04:18 +0000 Subject: avoid aliasing global "spawn" method This makes debugging, grepping, and following code confusing at times and also unexpected breaks usage of the global "spawn" method. --- lib/dtas/source/splitfx.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/dtas/source/splitfx.rb') diff --git a/lib/dtas/source/splitfx.rb b/lib/dtas/source/splitfx.rb index 80d8473..adfde61 100644 --- a/lib/dtas/source/splitfx.rb +++ b/lib/dtas/source/splitfx.rb @@ -60,8 +60,8 @@ class DTAS::Source::SplitFX < DTAS::Source::Sox # :nodoc: @ymlhash["command"] || super end - def spawn(player_format, rg_state, opts) - raise "BUG: #{self.inspect}#spawn called twice" if @to_io + def src_spawn(player_format, rg_state, opts) + raise "BUG: #{self.inspect}#src_spawn called twice" if @to_io e = @env.merge!(player_format.to_env) @sfx.infile_env(e, @sox.infile) -- cgit v1.2.3-24-ge0c7