class Registry::Checkout
def checkout
def checkout self.path = File.join(Dir.tmpdir, name) cd(Dir.tmpdir) { system "#{checkout_command}" } end
def checkout_command
def checkout_command raise "Not Implemented!" end
def initialize(extension)
def initialize(extension) super(extension.repository_url, extension.name) end
def install
def install checkout super end