lib/reek/smells/feature_envy.rb in reek-2.1.0 vs lib/reek/smells/feature_envy.rb in reek-2.2.0

- old
+ new

@@ -1,7 +1,6 @@ require_relative 'smell_detector' -require_relative '../smell_warning' module Reek module Smells # # Feature Envy occurs when a code fragment references another object @@ -31,9 +30,10 @@ # often than it refers to (ie. send messages to) some other object. # # If the method doesn't reference self at all, +UtilityFunction+ is # reported instead. # + # See docs/Feature-Envy for details. class FeatureEnvy < SmellDetector def self.smell_category 'LowCohesion' end