lib/osm/term.rb in osm-0.1.16 vs lib/osm/term.rb in osm-0.1.17
- old
+ new
@@ -219,10 +219,10 @@
compare = self.start <=> another_term.start
return compare unless compare == 0
return self.id <=> another_term.id
rescue NoMethodError
- return false
+ return 0
end
end
def ==(another_term)
begin