Sha256: 7d5b7b3894c72c49a5b459eccc1bffbf8e4c4d70226ce5d00b86140acb9e918f
Contents?: true
Size: 455 Bytes
Versions: 5
Compression:
Stored size: 455 Bytes
Contents
MetricFu.metrics_require { 'hotspots/hotspot_analyzer' } module MetricFu class Hotspots < Generator def initialize(options={}) super end def self.verify_dependencies! true end def emit @analyzer = MetricFu::HotspotAnalyzer.new(MetricFu.report.report_hash) end def analyze @hotspots = @analyzer && @analyzer.hotspots || {} end def to_h {:hotspots => @hotspots} end end end
Version data entries
5 entries across 5 versions & 1 rubygems