lib/dbee/model/constraints/base.rb in dbee-1.0.1 vs lib/dbee/model/constraints/base.rb in dbee-1.0.2
- old
+ new
@@ -21,10 +21,10 @@
@name = name.to_s
end
def <=>(other)
- other.name <=> name
+ name <=> other.name
end
def hash
name.hash
end