lib/sox/command_builder.rb
def build_file(file)
      opts = build_options(file.options)
      file_path = file.escaped? ? file.path : Shellwords.escape(file.path)
      [opts, file_path]
    end
# Build part of SoX command which represents file(input or output).
#
# @param file [Sox::File] file
#
# @return [String]
Build part of SoX command which represents file(input or output).
Build part of SoX command which represents file ( input or output ) .
def build_file(file)
      opts = build_options(file.options)
      file_path = file.escaped? ? file.path : Shellwords.escape(file.path)
      [opts, file_path]
    end
def build_file ( file ) opts = build_options ( file . options ) file_path = file . escaped? ? file . path : Shellwords . escape ( file . path ) [ opts , file_path ] end
Build part of SoX command which represents file(input or output).
Build part of SoX command which represents file ( input or output ) .
None
String
file
None