diff options
author | Eric Wong <e@80x24.org> | 2015-01-19 09:04:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-01-19 09:58:47 +0000 |
commit | b95a51440b6378847c4ab5dd4cf9e96e18b5f241 (patch) | |
tree | c9266398424220484c9f9c2b4969c9908abc5b89 /lib/dtas/source/cmd.rb | |
parent | 723cd6da883bda87e092707ce17c31190a1c5205 (diff) | |
download | dtas-b95a51440b6378847c4ab5dd4cf9e96e18b5f241.tar.gz |
This makes debugging, grepping, and following code confusing at times and also unexpected breaks usage of the global "spawn" method.
Diffstat (limited to 'lib/dtas/source/cmd.rb')
-rw-r--r-- | lib/dtas/source/cmd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/source/cmd.rb b/lib/dtas/source/cmd.rb index b2cd8e3..0f4c3f6 100644 --- a/lib/dtas/source/cmd.rb +++ b/lib/dtas/source/cmd.rb @@ -31,8 +31,8 @@ class DTAS::Source::Cmd # :nodoc: alias to_hsh to_hash - def spawn(format, rg_state, opts) - raise "BUG: #{self.inspect}#spawn called twice" if @to_io + def src_spawn(format, rg_state, opts) + raise "BUG: #{self.inspect}#src_spawn called twice" if @to_io e = format.to_env @pid = dtas_spawn(e.merge!(@env), command_string, opts) end |