Sha256: 42c7154005acea9b1e890fd4fe19e7fa6394f820bb09392892f8ade58c86ea66
Contents?: true
Size: 643 Bytes
Versions: 3
Compression:
Stored size: 643 Bytes
Contents
# # Copyright (c) 2012 Lorenzo Pasqualis - DreamBox Learning, Inc # https://github.com/lpasqualis/rubyperf # require 'rubyperf' require 'cgi' module Perf # ReportFormatListOfMeasures is use for unit tests to list the measures taken and their count. It has no other # real life purpose. class ReportFormatListOfMeasures < ReportFormat def format(perf,options={}) super.select{|x| x.length>0 } end def format_header(v) "" end def format_measure(v) "#{v[:title]},#{v[:count]}" end def format_footer(v) "" end def format_title(what,options) what end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubyperf-1.2.0 | lib/perf/report_format_list_of_measures.rb |
rubyperf-1.1.0 | lib/perf/report_format_list_of_measures.rb |
rubyperf-1.0.1 | lib/perf/report_format_list_of_measures.rb |