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