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.
4 5 6 7 |
# File 'lib/hashira/report/text.rb', line 4 def initialize(view, io: $stdout) @view = view @io = io end |
Instance Method Details
#print ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/hashira/report/text.rb', line 9 def print coupling if @view.graph complexity if @view.complexity hotspots if @view.hotspots findings 0 end |