Class: Open3::DetachThread

Inherits:
Thread
  • Object
show all
Defined in:
lib/open3/jruby_windows.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pid) ⇒ DetachThread

Returns a new instance of DetachThread.



119
120
121
122
123
124
# File 'lib/open3/jruby_windows.rb', line 119

def initialize(pid)
  super

  @pid = pid
  self[:pid] = pid
end

Instance Attribute Details

#pidObject (readonly)

Returns the value of attribute pid.



117
118
119
# File 'lib/open3/jruby_windows.rb', line 117

def pid
  @pid
end