# File lib/icanhasaudio/wav/file.rb, line 5 def initialize io_or_path, mode = 'wb' @io = io_or_path.is_a?(IO) ? io_or_path : File.open(io_or_path, mode) @bits = 16 if block_given? yield self close end end