about summary refs log tree commit homepage
path: root/lib/dtas/format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/format.rb')
-rw-r--r--lib/dtas/format.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/dtas/format.rb b/lib/dtas/format.rb
index 35682a7..690a21f 100644
--- a/lib/dtas/format.rb
+++ b/lib/dtas/format.rb
@@ -1,4 +1,3 @@
-# -*- encoding: binary -*-
 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 # class represents an audio format (type/bits/channels/sample rate/...)
@@ -9,6 +8,7 @@ require_relative 'serialize'
 class DTAS::Format # :nodoc:
   include DTAS::Process
   include DTAS::Serialize
+
   NATIVE_ENDIAN = [1].pack("l") == [1].pack("l>") ? "big" : "little"
 
   attr_accessor :type # s32, f32, f64 ... any point in others?
@@ -63,10 +63,6 @@ class DTAS::Format # :nodoc:
     %W(-f #{@type}_#{endian2},#@channels,#@rate)
   end
 
-  def inspect
-    "<#{self.class}(#{Shellwords.join(to_sox_arg)})>"
-  end
-
   def to_hsh
     to_hash.delete_if { |k,v| v == FORMAT_DEFAULTS[k] }
   end