Class: Hashira::Coupling::Report
- Inherits:
-
Object
- Object
- Hashira::Coupling::Report
- Defined in:
- lib/hashira/coupling/report.rb
Constant Summary collapse
Instance Method Summary collapse
- #findings ⇒ Object
- #graph ⇒ Object
-
#initialize(project, trees, packaging:) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(project, trees, packaging:) ⇒ Report
Returns a new instance of Report.
13 14 15 16 17 |
# File 'lib/hashira/coupling/report.rb', line 13 def initialize(project, trees, packaging:) @project = project @trees = trees @packaging = packaging end |
Instance Method Details
#findings ⇒ Object
21 |
# File 'lib/hashira/coupling/report.rb', line 21 def findings = RULES.flat_map { it.new(@project, graph).list } |