Class: Fontist::Resources::ArchiveResource

Inherits:
Object
  • Object
show all
Defined in:
lib/fontist/resources/archive_resource.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource, options = {}) ⇒ ArchiveResource

Returns a new instance of ArchiveResource.



4
5
6
7
# File 'lib/fontist/resources/archive_resource.rb', line 4

def initialize(resource, options = {})
  @resource = resource
  @options = options
end

Instance Method Details

#files(_source_names, &block) ⇒ Object



9
10
11
# File 'lib/fontist/resources/archive_resource.rb', line 9

def files(_source_names, &block)
  excavate.files(recursive_packages: true, &block)
end