18 lines
213 B
Ruby
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
|