Method: Process::Status#to_i
- Defined in:
- process.c
#to_i ⇒ Integer
Returns the system-dependent integer status of self:
`cat /nop`
$?.to_i # => 256
725 726 727 728 729 730 |
# File 'process.c', line 725 static VALUE pst_to_i(VALUE self) { int status = pst_status(self); return RB_INT2NUM(status); } |