Sha256: 4f5a6b787502f61d41c644af40a9409eedbe7cd43808f7b4ea5c9b998704e7ac

Contents?: true

Size: 305 Bytes

Versions: 8

Compression:

Stored size: 305 Bytes

Contents

module SimplePerf
  module CLI
    module Shared

      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

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_perf-0.0.18 lib/simple_perf/cli/shared.rb
simple_perf-0.0.17 lib/simple_perf/cli/shared.rb
simple_perf-0.0.15 lib/simple_perf/cli/shared.rb
simple_perf-0.0.14 lib/simple_perf/cli/shared.rb
simple_perf-0.0.13 lib/simple_perf/cli/shared.rb
simple_perf-0.0.12 lib/simple_perf/cli/shared.rb
simple_perf-0.0.11 lib/simple_perf/cli/shared.rb
simple_perf-0.0.10 lib/simple_perf/cli/shared.rb