Class: RHC::Helpers::StringTee
Instance Attribute Summary collapse
-
#tee ⇒ Object
readonly
Returns the value of attribute tee.
Instance Method Summary collapse
- #<<(buf) ⇒ Object
-
#initialize(other) ⇒ StringTee
constructor
A new instance of StringTee.
Constructor Details
#initialize(other) ⇒ StringTee
Returns a new instance of StringTee.
361 362 363 364 |
# File 'lib/rhc/helpers.rb', line 361 def initialize(other) @tee = other super() end |
Instance Attribute Details
#tee ⇒ Object (readonly)
Returns the value of attribute tee.
360 361 362 |
# File 'lib/rhc/helpers.rb', line 360 def tee @tee end |
Instance Method Details
#<<(buf) ⇒ Object
365 366 367 368 |
# File 'lib/rhc/helpers.rb', line 365 def <<(buf) tee << buf super end |