Method: ChildProcess::AbstractProcess#initialize
- Defined in:
- lib/pdk/monkey_patches.rb
#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 |