method

to_i

v1_9_2_180 - Show latest stable - Class: Process::Status
to_i()
public

Returns the bits in stat as a Fixnum. Poking around in these bits is platform dependent.

fork { exit 0xab }         #=> 26566
Process.wait               #=> 26566
sprintf('%04x', $?.to_i)   #=> "ab00"