Method: ProcessExecuter::Options::SpawnOptions#stderr_redirection?

Defined in:
lib/process_executer/options/spawn_options.rb

#stderr_redirection?(option_key) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Determine if the given option key indicates a redirection option for stderr

Parameters:

  • option_key (Symbol, Integer, IO, Array)

    the option key to be tested

Returns:

  • (Boolean)


89
# File 'lib/process_executer/options/spawn_options.rb', line 89

def stderr_redirection?(option_key) = std_redirection?(option_key, :err, 2)