Module: SimplePerf::CLI::Shared
- Included in:
- Chaos, CreateGatling, CreateJmeter, Deploy, Destroy, Results, StartCustom, StartGatling, StartJmeter, Status, Stop, Update
- Defined in:
- lib/simple_perf/cli/shared.rb
Class Method Summary collapse
Class Method Details
.pretty_print(output) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/simple_perf/cli/shared.rb', line 5 def self.pretty_print(output) output.gsub!(/\r\n?/, "\n") output.each_line { |line| puts line.split(" : ")[1] unless line.to_s.include? "tar: Ignoring unknown extended header keyword" } end |