Module: Archive::Ar
- Defined in:
- lib/archive/ar.rb,
lib/archive/ar/format.rb,
lib/archive/ar/reader.rb,
lib/archive/ar/writer.rb,
lib/archive/ar/version.rb
Defined Under Namespace
Classes: Format, Reader, Writer
Constant Summary collapse
- MAGIC =
"!<arch>\n"
- VERSION =
"0.0.3"
Class Method Summary collapse
- .create(dest_file, filenames = [], options = {}) ⇒ Object
- .extract(source_file, dest_dir, options = {}) ⇒ Object
- .traverse(source_file, options = {}, &block) ⇒ Object
Class Method Details
.create(dest_file, filenames = [], options = {}) ⇒ Object
10 11 12 |
# File 'lib/archive/ar.rb', line 10 def self.create(dest_file, filenames = [], = {}) Writer.new(filenames).write(dest_file, ) end |