Skip to content
Permalink
Browse files

more passing specs

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 7, 2013
1 parent 5d4204c commit 96819074bca4c585305ea7bb843ec525c4587853
@@ -1,18 +1,18 @@
module Comparable
def >(other)
return (self <=> other) > 0
return Topaz.compare(self, other) > 0
end

def <(other)
return (self <=> other) < 0
return Topaz.compare(self, other) < 0
end

def >=(other)
return !((self <=> other) < 0)
return Topaz.compare(self, other) >= 0
end

def <=(other)
return !((self <=> other) > 0)
return Topaz.compare(self, other) <= 0
end

def ==(other)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 9681907

Please sign in to comment.
You can’t perform that action at this time.