Parent

Methods

ChildProcess::JRuby::Pump

Constants

BUFFER_SIZE

Public Class Methods

new(input, output) click to toggle source
# File lib/childprocess/jruby/pump.rb, line 6
def initialize(input, output)
  @input  = input
  @output = output
  @stop   = false
end

Public Instance Methods

run() click to toggle source
# File lib/childprocess/jruby/pump.rb, line 17
def run
  @thread = Thread.new { pump }

  self
end
stop() click to toggle source
# File lib/childprocess/jruby/pump.rb, line 12
def stop
  @stop = true
  @thread && @thread.join
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.