instance method Process::Status#>>
self >> num -> Integer-
self.to_i >> num と同じです。
- [PARAM] num:
- 整数を指定します。
fork { exit 99 } #=> 26563 Process.wait #=> 26563 $?.to_i #=> 25344 $? >> 8 #=> 99
class Process::Status
self >> num -> Integerself.to_i >> num と同じです。
fork { exit 99 } #=> 26563
Process.wait #=> 26563
$?.to_i #=> 25344
$? >> 8 #=> 99