Class: Puppet::Test::LogCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/vendor/puppet/util/log/destinations.rb

Instance Method Summary collapse

Constructor Details

#initialize(logs) ⇒ LogCollector

Returns a new instance of LogCollector.



209
210
211
# File 'lib/vendor/puppet/util/log/destinations.rb', line 209

def initialize(logs)
  @logs = logs
end

Instance Method Details

#<<(value) ⇒ Object



213
214
215
# File 'lib/vendor/puppet/util/log/destinations.rb', line 213

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