Sha256: 6e8026c909605f294e137cf31a44f35d8a59efadac451d24a032e2ba046047de

Contents?: true

Size: 231 Bytes

Versions: 9

Compression:

Stored size: 231 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]
        }
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simple_perf-0.0.9 lib/simple_perf/cli/shared.rb
simple_perf-0.0.8 lib/simple_perf/cli/shared.rb
simple_perf-0.0.7 lib/simple_perf/cli/shared.rb
simple_perf-0.0.6 lib/simple_perf/cli/shared.rb
simple_perf-0.0.5 lib/simple_perf/cli/shared.rb
simple_perf-0.0.4 lib/simple_perf/cli/shared.rb
simple_perf-0.0.3 lib/simple_perf/cli/shared.rb
simple_perf-0.0.2 lib/simple_perf/cli/shared.rb
simple_perf-0.0.1 lib/simple_perf/cli/shared.rb