Class: Puppet::Test::LogCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/puppetlabs_spec_helper/puppet_spec_helper.rb

Instance Method Summary collapse

Constructor Details

#initialize(logs) ⇒ LogCollector

Returns a new instance of LogCollector.


108
109
110
# File 'lib/puppetlabs_spec_helper/puppet_spec_helper.rb', line 108

def initialize(logs)
  @logs = logs
end

Instance Method Details

#<<(value) ⇒ Object


112
113
114
# File 'lib/puppetlabs_spec_helper/puppet_spec_helper.rb', line 112

def <<(value)
  @logs << value
end