Files
analyzer-pipeline/lib/pipeline/util/log_collector.rb
2019-09-10 14:29:00 +01:00

18 lines
213 B
Ruby

module Pipeline::Util
class LogCollector
def initialize
@logs = []
end
def <<(external_command)
@logs << external_command.report
end
def inspect
@logs
end
end
end