about summary refs log tree commit homepage
path: root/lib/dtas/splitfx.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-04-13 00:59:02 +0000
committerEric Wong <e@80x24.org>2015-04-13 00:59:02 +0000
commit7681d9416cae1236e31cdada571ec163b3d02d9b (patch)
tree8317f6ebe52cce5f9399bab9de82c8a789c5cb27 /lib/dtas/splitfx.rb
parentc4ffed8a441fb0f16f0d206218b3580ae4460797 (diff)
downloaddtas-7681d9416cae1236e31cdada571ec163b3d02d9b.tar.gz
We already convert xs arg to be an Array, so avoid bloating
our code with redundancy.
Diffstat (limited to 'lib/dtas/splitfx.rb')
-rw-r--r--lib/dtas/splitfx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index fcd0028..6271fb0 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -298,7 +298,7 @@ class DTAS::SplitFX # :nodoc:
       samples = @t2s.call(stop_time)
       prev = @tracks.last and prev.commit(samples)
     else
-      raise ArgumentError, "unknown command: #{xs(Array(cmd))}"
+      raise ArgumentError, "unknown command: #{xs(cmd)}"
     end
   end