Module: Kernel

Defined in:
lib/test/cmd.rb

Instance Method Summary collapse

Instance Method Details

#cmd(cmd, *argv) ⇒ Test::Cmd

Parameters:

  • cmd (String)

    A command to spawn

  • argv (Array<String>)

    Zero or more command-line arguments

Returns:



184
185
186
# File 'lib/test/cmd.rb', line 184

def cmd(cmd, *argv)
  Test::Cmd.new(cmd, *argv)
end