Updater cleanup

This commit is contained in:
erwanlr
2013-01-14 10:51:25 +01:00
parent 255bbcdac2
commit 37e4461ddd
2 changed files with 4 additions and 10 deletions

View File

@@ -27,21 +27,15 @@ class Updater
end
def is_installed?
raise_must_be_implemented()
raise NotImplementedError
end
def local_revision_number
raise_must_be_implemented()
raise NotImplementedError
end
def update
raise_must_be_implemented()
end
protected
def raise_must_be_implemented
raise "The method must be implemented"
raise NotImplementedError
end
end