Sha256: ece055c1a05fe44877c6c42eac04c62de68b7896db3028ae3f86fa71d4b45924
Contents?: true
Size: 539 Bytes
Versions: 83
Compression:
Stored size: 539 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Process.getpgid" do it "requires one argument" do lambda { Process.getpgid }.should raise_error(ArgumentError) end platform_is_not :windows do it "returns the process group ID for the given process id" do Process.getpgid(Process.pid).should == Process.getpgrp end it "returns the process group ID for the calling process id when passed 0" do Process.getpgid(0).should == Process.getpgrp end end end
Version data entries
83 entries across 83 versions & 1 rubygems