Class: ChildProcess::AbstractProcess
- Inherits:
-
Object
- Object
- ChildProcess::AbstractProcess
- Defined in:
- lib/pdk/monkey_patches.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ AbstractProcess
constructor
A new instance of AbstractProcess.
Constructor Details
#initialize(*args) ⇒ AbstractProcess
Returns a new instance of AbstractProcess.
35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/pdk/monkey_patches.rb', line 35 def initialize(*args) raise ArgumentError, "all arguments must be String: #{args.inspect}" unless args.all?(String) @args = args @started = false @exit_code = nil @io = nil @cwd = nil @detach = false @duplex = false @leader = false @environment = {} end |