Class: Hashira::Report::Text
- Inherits:
-
Object
- Object
- Hashira::Report::Text
- Defined in:
- lib/hashira/report/text.rb
Constant Summary collapse
- FINDINGS =
25
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 if @view.graph complexity if @view.complexity hotspots if @view.hotspots findings 0 end |