Class: Hashira::CI::RatchetReport
- Inherits:
-
Object
- Object
- Hashira::CI::RatchetReport
- Defined in:
- lib/hashira/ci/ratchet_report.rb
Instance Method Summary collapse
-
#initialize(graph, findings, io: $stdout) ⇒ RatchetReport
constructor
A new instance of RatchetReport.
- #print(edges, findings) ⇒ Object
Constructor Details
#initialize(graph, findings, io: $stdout) ⇒ RatchetReport
Returns a new instance of RatchetReport.
6 7 8 9 10 |
# File 'lib/hashira/ci/ratchet_report.rb', line 6 def initialize(graph, findings, io: $stdout) @graph = graph @findings = findings @io = io end |
Instance Method Details
#print(edges, findings) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/hashira/ci/ratchet_report.rb', line 12 def print(edges, findings) return unchanged if quiet?(edges, findings) details(edges, findings) advice(edges, findings) 1 end |