Module: IMW::Resources::Archives::Tar

Includes:
IMW::Resources::Archive
Defined in:
lib/imw/resources/archives_and_compressed/tar.rb

Instance Method Summary collapse

Methods included from IMW::Resources::Archive

#append, #contents, #create, #extract, #is_archive?

Instance Method Details

#archive_settingsObject



10
11
12
13
14
15
16
17
18
# File 'lib/imw/resources/archives_and_compressed/tar.rb', line 10

def archive_settings
  @archive_settings ||=  {
    :create  => "-cf",
    :append  => "-rf",
    :list    => "-tf",
    :extract => "-xf",
    :program => :tar
  }
end