class Fontist::Import::RecursiveExtraction

Constants

LICENSE_PATTERN

Public Class Methods

new(archive, subdir: nil, file_pattern: nil) click to toggle source
# File lib/fontist/import/recursive_extraction.rb, line 11
def initialize(archive, subdir: nil, file_pattern: nil)
  @archive = archive
  @subdir = subdir
  @file_pattern = file_pattern
  @operations = {}
  @font_files = []
  @collection_files = []

  save_operation_subdir
end

Public Instance Methods

font_collection_files() click to toggle source
# File lib/fontist/import/recursive_extraction.rb, line 27
def font_collection_files
  ensure_extracted
  @collection_files
end
font_files() click to toggle source
# File lib/fontist/import/recursive_extraction.rb, line 22
def font_files
  ensure_extracted
  @font_files
end
license_text() click to toggle source
# File lib/fontist/import/recursive_extraction.rb, line 32
def license_text
  ensure_extracted
  @license_text
end
operations() click to toggle source
# File lib/fontist/import/recursive_extraction.rb, line 37
def operations
  ensure_extracted
  @operations
end