Method: ProcessExecuter::Result#options

Defined in:
lib/process_executer/result.rb

#optionsHash (readonly)

The options that were used to spawn the process

Examples:

result.options #=> { chdir: '/path/to/repo', timeout_after: 0.5 }

Returns:

  • (Hash)

See Also:

  • Process.spawn

67
68
69
# File 'lib/process_executer/result.rb', line 67

def options
  @options
end