Class: UnpackStrategy::Uncompressed

Inherits:
Object
  • Object
show all
Includes:
UnpackStrategy
Defined in:
unpack_strategy/uncompressed.rb

Overview

Strategy for unpacking uncompressed files.

Direct Known Subclasses

Executable, Jar, LuaRock, MicrosoftOfficeXml, Otf, Pkg, Ttf

Instance Attribute Summary

Attributes included from UnpackStrategy

#merge_xattrs, #path

Instance Method Summary collapse

Methods included from UnpackStrategy

#dependencies, detect, #each_directory, #extract, from_extension, from_magic, from_type, #initialize

Methods included from SystemCommand::Mixin

#system_command, #system_command!

Instance Method Details

#extract_nestedly(to: nil, basename: nil, verbose: false, prioritize_extension: false) ⇒ T.untyped

Parameters:

  • to (Pathname, nil) (defaults to: nil)
  • basename (String, Pathname, nil) (defaults to: nil)
  • verbose (Boolean) (defaults to: false)
  • prioritize_extension (Boolean) (defaults to: false)

Returns:

  • (T.untyped)


17
18
19
# File 'unpack_strategy/uncompressed.rb', line 17

def extract_nestedly(to: nil, basename: nil, verbose: false, prioritize_extension: false)
  extract(to: to, basename: basename, verbose: verbose)
end