Class R10K::Util::Subprocess::Runner::Pump
In: lib/r10k/util/subprocess/runner/pump.rb
Parent: Object

Perform nonblocking reads on a streaming IO instance.

@api private

Methods

halt!   new   start   wait  

Attributes

max_delay  [RW]  @!attribute [r] max_delay
  @return [Float] The maximum time to wait while polling the IO device
min_delay  [RW]  @!attribute [r] min_delay
  @return [Float] The minimum time to wait while polling the IO device
string  [R]  !@attribute [r] string
  @return [String] The output collected from the IO device

Public Class methods

Public Instance methods

Block until the pumping thread reaches EOF on the IO object.

[Validate]