Class: Henitai::Integration::ChildHandle

Inherits:
Struct
  • Object
show all
Defined in:
lib/henitai/integration/rspec_process_runner.rb,
sig/henitai.rbs

Overview

Captures the PID and log paths for a spawned mutant child process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChildHandle

Returns a new instance of ChildHandle.

Parameters:

  • pid: (Integer, nil)
  • log_paths: (Hash[Symbol, String])


459
# File 'sig/henitai.rbs', line 459

def initialize: (pid: Integer?, log_paths: Hash[Symbol, String]) -> void

Instance Attribute Details

#log_pathsObject

Returns the value of attribute log_paths

Returns:

  • (Object)

    the current value of log_paths



55
56
57
# File 'lib/henitai/integration/rspec_process_runner.rb', line 55

def log_paths
  @log_paths
end

#pidObject

Returns the value of attribute pid

Returns:

  • (Object)

    the current value of pid



55
56
57
# File 'lib/henitai/integration/rspec_process_runner.rb', line 55

def pid
  @pid
end