Class: Tracing::StreamTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/targets/stream_target.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#streamObject

Returns the value of attribute stream.



3
4
5
# File 'lib/targets/stream_target.rb', line 3

def stream
  @stream
end

Instance Method Details

#append(txt, context) ⇒ Object



5
6
7
# File 'lib/targets/stream_target.rb', line 5

def append(txt, context)
  @stream << txt
end