bit cleaner code

This commit is contained in:
2010-07-19 01:38:06 +03:00
parent afd6265288
commit 94001afc29

View File

@@ -11,8 +11,7 @@ module Redistat
end
def save
db.set("Redistat:lables:#{@hash}", @name)
@saved = true
@saved = (db.set("Redistat:lables:#{@hash}", @name) == "OK")
self
end