module Process
Public Class Methods
expected(status)
click to toggle source
# File lib/ssh_test.rb, line 9 def self.expected status @@expected ||= [] @@expected << status end
Public Instance Methods
waitpid2(pid)
click to toggle source
# File lib/ssh_test.rb, line 17 def waitpid2(pid) [ @@expected.shift ] end