class Perf::ReportFormatListOfMeasures
ReportFormatListOfMeasures
is use for unit tests to list the measures taken and their count. It has no other real life purpose.
Public Instance Methods
format(perf,options={})
click to toggle source
Calls superclass method
Perf::ReportFormat#format
# File lib/perf/report_format_list_of_measures.rb, line 10 def format(perf,options={}) super.select{|x| x.length>0 } end
format_header(v)
click to toggle source
# File lib/perf/report_format_list_of_measures.rb, line 14 def format_header(v) "" end
format_measure(v)
click to toggle source
# File lib/perf/report_format_list_of_measures.rb, line 18 def format_measure(v) "#{v[:title]},#{v[:count]}" end
format_title(what,options)
click to toggle source
# File lib/perf/report_format_list_of_measures.rb, line 26 def format_title(what,options) what end