Class: Tracing::StringTarget
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
3 4 5 |
# File 'lib/targets/string_target.rb', line 3 def text @text end |
Instance Method Details
#append(txt, context) ⇒ Object
5 6 7 |
# File 'lib/targets/string_target.rb', line 5 def append(txt, context) @text << txt end |