Class: Hashira::Report::Text
- Inherits:
-
Object
- Object
- Hashira::Report::Text
- Defined in:
- lib/hashira/report/text.rb
Instance Method Summary collapse
-
#initialize(view, io: $stdout) ⇒ Text
constructor
A new instance of Text.
- #print ⇒ Object
Constructor Details
#initialize(view, io: $stdout) ⇒ Text
Returns a new instance of Text.
6 7 8 9 |
# File 'lib/hashira/report/text.rb', line 6 def initialize(view, io: $stdout) @view = view @io = io end |
Instance Method Details
#print ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/hashira/report/text.rb', line 11 def print coupling_sections if @view.graph complexity_section if @view.complexity hotspot_section if @view.hotspots findings_section 0 end |