Created
August 9, 2008 11:36
-
-
Save nofxx/4669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def <=>(other) | |
raise("Comparing a revision to #{other.class} is not supported") unless other.is_a? Revision | |
@number <=> other.number | |
end | |
# from cruisecontrol code... | |
# ruby = poem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment