lib/rubycritic/core/smell.rb in rubycritic-0.0.13 vs lib/rubycritic/core/smell.rb in rubycritic-0.0.14
- old
+ new
@@ -28,13 +28,9 @@
def ==(other)
self.class == other.class && state == other.state
end
alias_method :eql?, :==
- def <=>(other)
- locations <=> other.locations
- end
-
def to_s
"(#{type}) #{context} #{message}"
end
def hash