Class: Puppet::Test::LogCollector
- Inherits:
-
Object
- Object
- Puppet::Test::LogCollector
- Defined in:
- lib/puppetlabs_spec_helper/puppet_spec_helper.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.
130 131 132 |
# File 'lib/puppetlabs_spec_helper/puppet_spec_helper.rb', line 130 def initialize(logs) @logs = logs end |
Instance Method Details
#<<(value) ⇒ Object
134 135 136 |
# File 'lib/puppetlabs_spec_helper/puppet_spec_helper.rb', line 134 def <<(value) @logs << value end |