Added equals object to documentation, counting as a minor

This commit is contained in:
hydrabolt
2015-09-28 20:59:53 +01:00
parent 32f6f31cdf
commit f36e61ac2a
4 changed files with 114 additions and 1 deletions

View File

@@ -92,6 +92,10 @@ class Server {
toString(){
return this.name;
}
equals(object){
return object.id === this.id;
}
}
module.exports = Server;