Module: Process
- Defined in:
- lib/test_case.rb
Class Method Summary collapse
Class Method Details
.expected(status) ⇒ Object
12 13 14 15 |
# File 'lib/test_case.rb', line 12 def self.expected status @@expected ||= [] @@expected << status end |
.waitpid2(pid) ⇒ Object
20 21 22 |
# File 'lib/test_case.rb', line 20 def waitpid2(pid) [ @@expected.shift ] end |
.waitpid2_old ⇒ Object
18 |
# File 'lib/test_case.rb', line 18 alias :waitpid2_old :waitpid2 |