class Fontist::Import::RecursiveExtraction
Constants
- FONT_EXTENSIONS_PATTERN
- LICENSE_PATTERN
- SUPPORTED_FONT_EXTENSIONS
-
Fontextensions that are recognized during extraction This is displayed to users so they understand what files are being matched
Attributes
Public Class Methods
Source
# File lib/fontist/import/recursive_extraction.rb, line 19 def initialize(archive, subdir: nil, file_pattern: nil, name_prefix: nil, verbose: false) @archive = archive @subdir = subdir @file_pattern = file_pattern @name_prefix = name_prefix @verbose = verbose @operations = {} @font_files = [] @collection_files = [] @error_collector = FontParsingErrorCollector.new save_operation_subdir end
Public Instance Methods
Source
# File lib/fontist/import/recursive_extraction.rb, line 39 def font_collection_files ensure_extracted @collection_files end
Source
# File lib/fontist/import/recursive_extraction.rb, line 34 def font_files ensure_extracted @font_files end
Source
# File lib/fontist/import/recursive_extraction.rb, line 44 def license_text ensure_extracted @license_text end
Source
# File lib/fontist/import/recursive_extraction.rb, line 49 def operations ensure_extracted @operations end