Class: Puppet::Test::LogCollector
- Defined in:
- lib/puppet/util/log/destinations.rb
Instance Method Summary collapse
- #<<(value) ⇒ Object
-
#initialize(logs) ⇒ LogCollector
constructor
A new instance of LogCollector.
Constructor Details
#initialize(logs) ⇒ LogCollector
Returns a new instance of LogCollector.
195 196 197 |
# File 'lib/puppet/util/log/destinations.rb', line 195 def initialize(logs) @logs = logs end |
Instance Method Details
#<<(value) ⇒ Object
199 200 201 |
# File 'lib/puppet/util/log/destinations.rb', line 199 def <<(value) @logs << value end |