lib/scss_lint/location.rb in scss_lint-0.43.2 vs lib/scss_lint/location.rb in scss_lint-0.44.0
- old
+ new
@@ -22,10 +22,10 @@
[:line, :column, :length].all? do |attr|
send(attr) == other.send(attr)
end
end
- alias_method :eql?, :==
+ alias eql? ==
def <=>(other)
[:line, :column, :length].each do |attr|
result = send(attr) <=> other.send(attr)
return result unless result == 0