Sha256: 756d307d5f54d7f23585281585f7b909d5ff33f1b4d0b65603707ac62b072018
Contents?: true
Size: 629 Bytes
Versions: 6
Compression:
Stored size: 629 Bytes
Contents
# # Copyright (c) 2012 Lorenzo Pasqualis - DreamBox Learning, Inc # https://github.com/lpasqualis/rubyperf # require 'rubyperf' 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
6 entries across 6 versions & 1 rubygems