Skip to content

Instantly share code, notes, and snippets.

@rkhmelyuk
Created August 4, 2011 09:44
Show Gist options
  • Save rkhmelyuk/1124857 to your computer and use it in GitHub Desktop.
Save rkhmelyuk/1124857 to your computer and use it in GitHub Desktop.
def john = new Person(firstName: 'John', lastName: 'Doe', age: 25)
def mark = new Person(firstName: 'Mark', lastName: 'White', age: 25)
print "john <=> mark = " + (john <=> mark)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment