Class: Hashira::Coupling::Imbalance

Inherits:
Rule
  • Object
show all
Defined in:
lib/hashira/coupling/imbalance.rb

Defined Under Namespace

Classes: Gap

Constant Summary collapse

KIND =
"sdp_violation"

Instance Method Summary collapse

Methods inherited from Rule

#initialize

Constructor Details

This class inherits a constructor from Hashira::Coupling::Rule

Instance Method Details

#listObject



10
11
12
# File 'lib/hashira/coupling/imbalance.rb', line 10

def list
  ranked.map { |from, to| violation(from, to) }
end