Class: Hashira::Report::HotspotTable
- Inherits:
-
Object
- Object
- Hashira::Report::HotspotTable
- Defined in:
- lib/hashira/report/hotspot_table.rb
Constant Summary collapse
- TOP =
10- HEADERS =
%w[file Cog Dup Churn Rank].freeze
Instance Method Summary collapse
-
#initialize(hotspots, top: TOP, io: $stdout) ⇒ HotspotTable
constructor
A new instance of HotspotTable.
- #print ⇒ Object
Constructor Details
#initialize(hotspots, top: TOP, io: $stdout) ⇒ HotspotTable
Returns a new instance of HotspotTable.
7 8 9 10 11 |
# File 'lib/hashira/report/hotspot_table.rb', line 7 def initialize(hotspots, top: TOP, io: $stdout) @hotspots = hotspots @top = top @io = io end |