Parent

Files

Updater

This class act as an absract one

Attributes

repo_directory[R]

Public Class Methods

new(repo_directory = nil) click to toggle source

TODO : add a last ‘/ to repo_directory if it’s not present

# File lib/updater/updater.rb, line 25
def initialize(repo_directory = nil)
  @repo_directory = repo_directory
end

Public Instance Methods

is_installed?() click to toggle source
# File lib/updater/updater.rb, line 29
def is_installed?
  raise_must_be_implemented()
end
local_revision_number() click to toggle source
# File lib/updater/updater.rb, line 33
def local_revision_number
  raise_must_be_implemented()
end
update() click to toggle source
# File lib/updater/updater.rb, line 37
def update
  raise_must_be_implemented()
end

Protected Instance Methods

raise_must_be_implemented() click to toggle source
# File lib/updater/updater.rb, line 43
def raise_must_be_implemented
  raise "The method must be implemented"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.