Method: ProcessExecuter::Options::SpawnOptions#stdout_redirection?

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

#stdout_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 stdout

Parameters:

  • option_key (Symbol, Integer, IO, Array)

    the option key to be tested

Returns:

  • (Boolean)


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

def stdout_redirection?(option_key) = std_redirection?(option_key, :out, 1)