Method: Mutant::Parallel::Connection::Reader#initialize

Defined in:
lib/mutant/parallel/connection.rb

#initializeReader

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Reader.



31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/mutant/parallel/connection.rb', line 31

def initialize(*)
  super

  @buffer  = +''
  @log     = +''

  # Array of size max 1 as surrogate for
  # terrible default nil ivars.
  @errors  = []
  @lengths = []
  @results = []
end