This commit is contained in:
Christian Mehlmauer
2013-02-05 10:11:57 +01:00
parent 54e2c4de3c
commit 014048a8ac
4 changed files with 255 additions and 151 deletions

View File

@@ -62,6 +62,10 @@ class WpUser
other.name <=> self.name
end
def ==(other)
other.name == self.name and other.id == self.id and other.nickname == self.nickname
end
def ===(other)
other.name === self.name and other.id === self.id and other.nickname === self.nickname
end