Class: Tracing::StreamTarget
Instance Attribute Summary collapse
-
#stream ⇒ Object
Returns the value of attribute stream.
Instance Method Summary collapse
Instance Attribute Details
#stream ⇒ Object
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 |