Sha256: ad6106a3c19a85326c59664831325647f2f614023f882855b638844de82b9041
Contents?: true
Size: 601 Bytes
Versions: 8
Compression:
Stored size: 601 Bytes
Contents
module MetricFu class HotspotProblems def initialize(grouping, details, exclude_details) @grouping, @details, @exclude_details = grouping, details, exclude_details end def problems problems = {} @grouping.each do |metric, table| if @details == :summary || @exclude_details.include?(metric) problems[metric] = MetricFu::Hotspot.analyzer_for_metric(metric).present_group(table) else problems[metric] = MetricFu::Hotspot.analyzer_for_metric(metric).present_group_details(table) end end problems end end end
Version data entries
8 entries across 8 versions & 1 rubygems