Module: Turbine::Pipeline::Trace::Transparent

Included in:
Filter, Journal
Defined in:
lib/turbine/pipeline/trace.rb

Overview

When included into a segment, sets it so that the value emitted by the segment is not included in traces. Useful for filters which would otherwise result in a duplicate value in the trace.

Instance Method Summary collapse

Instance Method Details

#traceObject

Public: Trace each transformation made to an input value.

See Segment#trace.

Returns an array.



36
37
38
# File 'lib/turbine/pipeline/trace.rb', line 36

def trace
  @source.trace
end