Class: Process::Status

Inherits:
Object show all
Includes:
StatusExtensions
Defined in:
lib/polyphony/extensions/process.rb

Class Method Summary collapse

Methods included from StatusExtensions

#coredump?, #exited?, #exitstatus, #inspect, #pid, #signaled?, #stopped?, #stopsig, #success?, #termsig

Class Method Details

.from_status_array(arr) ⇒ Object



75
76
77
# File 'lib/polyphony/extensions/process.rb', line 75

def self.from_status_array(arr)
  allocate.tap { |s| s.instance_variable_set(:@status, arr) }
end