Method: Unix::Exec#prepend_commands

Defined in:
lib/beaker/host/unix/exec.rb

#prepend_commands(_command = '', user_pc = '', _opts = {}) ⇒ String

Gets the specific prepend commands as needed for this host

Parameters:

  • command (String)

    Command to be executed

  • user_pc (String) (defaults to: '')

    List of user-specified commands to prepend

  • opts (Hash)

    optional parameters

Returns:

  • (String)

    Command string as needed for this host



365
366
367
# File 'lib/beaker/host/unix/exec.rb', line 365

def prepend_commands(_command = '', user_pc = '', _opts = {})
  user_pc
end