Class: Capistrano::NetStorage::Archiver::Base Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano/net_storage/archiver/base.rb

Overview

This class is abstract.

Abstract class to archive and extract whole application contents

Direct Known Subclasses

TarGzip, Zip

Instance Method Summary collapse

Instance Method Details

#archiveObject

This method is abstract.

Create archive

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/capistrano/net_storage/archiver/base.rb', line 15

def archive
  raise NotImplementedError
end

#checkObject

This method is abstract.

Check prerequisites to archive

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/capistrano/net_storage/archiver/base.rb', line 9

def check
  raise NotImplementedError
end

#extractObject

This method is abstract.

Extract archive

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/capistrano/net_storage/archiver/base.rb', line 21

def extract
  raise NotImplementedError
end