RubyGems Navigation menu

extracter 1.1.5

This fairly small class/library can be used to extract different archive formats such as .tar.bz2 or .tbz - archives such as .gem and .lzma will also work. You can also extract audio, by making use of class ExtractAudio. The latter is - and should be - optional though. Usage example: require 'extracter' Extracter.new('/foo/bla-1.0.tar.bz2') The second argument that can be passed to the method new() specifies where we should extract to, example: Extracter.new('/foo/bla-1.0.tar.bz2', '/opt') This would extract to the /opt directory. You can query whether input is an archive or not via: Extracter.is_archive? 'foo.tar.xz' As of April 2014 we also provide a bin/extract file, so that you can simply extract something from the commandline. Since as of November 2018, class Extracter can also "extract" .iso files. (The .iso will be mounted to a directory that will be created, actually.) If you have a specific suggestion to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank you.

版本列表:

  1. 1.1.5 - January 14, 2021 (19.5 KB)
  2. 1.1.0 - June 14, 2020 (17.0 KB)
显示所有 (100 个版本)

所有者:

Pushed by:

作者:

  • Robert A. Heiler

SHA 256 checksum:

ca02d6db49c7fe6e3d7bea992cfb5f6cc93f4733025807b5264a66c5786edb13

下载总次数 69,468

这个版本 171

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可:

GPL-2.0

需要的 Ruby 版本: >= 2.7.2

需要的 RubyGems 版本: >= 3.1.4

相关链接: