class Rubycritic::Smell
def ==(other)
def ==(other) state == other.state end
def at_location?(other_location)
def at_location?(other_location) locations.any? { |location| location == other_location } end
def has_multiple_locations?
def has_multiple_locations? locations.length > 1 end
def hash
def hash state.hash end
def state
def state [@context, @message, @score, @type] end
def to_s
def to_s "(#{type}) #{context} #{message}" end