Sha256: d3eaeda10dec40a41f6d30e40d0a3d9d08ab09a68e7d57d8be1c91e9abcdbedd
Contents?: true
Size: 1.86 KB
Versions: 16
Compression:
Stored size: 1.86 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:pid:@docstringIC:YARD::Docstring"YReturns the process ID of a child process associated with <em>ios</em>. This will be set by <code>IO::popen</code>. pipe = IO.popen("-") if pipe $stderr.puts "In parent, child pid is #{pipe.pid}" else $stderr.puts "In child, pid is #{$$}" end <em>produces:</em> In child, pid is 26209 In parent, child pid is 26209 :@objectu:YARD::StubProxyIO#pid: @summary0: @all"|Returns the process ID of a child process associated with <em>ios</em>. This will be set by <code>IO::popen</code>. pipe = IO.popen("-") if pipe $stderr.puts "In parent, child pid is #{pipe.pid}" else $stderr.puts "In child, pid is #{$$}" end <em>produces:</em> In child, pid is 26209 In parent, child pid is 26209 @overload pid @return [Fixnum]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u;IO#pid;;;IC; "