module Extracter
#¶ ↑
#¶ ↑
#¶ ↑
#¶ ↑
require 'extracter/do_extract_what_to.rb'
#¶ ↑
#¶ ↑
Extracter::ExtractIt
¶ ↑
If no input was provided to this class, but a .zip file exists in the current working directory, then that .zip file will be used.
Usage example:
Extracter::ExtractIt.new(ARGV)
#¶ ↑
require 'extracter/extract_it/extract_it.rb'
#¶ ↑
#¶ ↑
#¶ ↑
require 'extracter/initialize.rb'
#¶ ↑
#¶ ↑
require 'extracter/misc.rb'
#¶ ↑
#¶ ↑
#¶ ↑
#¶ ↑
require 'extracter/version/version.rb'
#¶ ↑
Public Class Methods
[](i, where_to = Dir.pwd)
click to toggle source
extract_what_to( what = 'foo-1.0.tar.xz', to = '/tmp/', optional_be_silent = false )
click to toggle source
#¶ ↑
Extracter.extract_what_to
¶ ↑
#¶ ↑
# File lib/extracter/class_methods.rb, line 134 def self.extract_what_to( what = 'foo-1.0.tar.xz', to = '/tmp/', # This target directory defaults to Linux/UNIX-like systems. optional_be_silent = false ) ::Extracter::Extracter.extract_what_to(what, to, optional_be_silent) end
is_this_a_valid_archive?(i)
click to toggle source
new( what = nil, where_to = nil, run_already = true, &block )
click to toggle source