Method: ProcessExecuter::DestinationBase#initialize

Defined in:
lib/process_executer/destination_base.rb

#initialize(destination) ⇒ DestinationBase

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.

Initializes a new destination handler

Parameters:

  • destination (Object)

    the destination to write to



15
16
17
18
# File 'lib/process_executer/destination_base.rb', line 15

def initialize(destination)
  @destination = destination
  @data_written = []
end