Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Process/ppid-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the process id of the parent of this process. Always returns 0 on NT. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB 
  body: "   puts "I am #{Process.pid}"\n   Process.fork { puts "Dad is #{Process.ppid}" }\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   I am 27417\n   Dad is 27417\n"
full_name: Process::ppid
is_singleton: true
name: ppid
params: |
  Process.ppid   => fixnum

visibility: public