Class: Fontist::Resources::ArchiveResource
- Inherits:
-
Object
- Object
- Fontist::Resources::ArchiveResource
- Defined in:
- lib/fontist/resources/archive_resource.rb
Instance Method Summary collapse
- #files(_source_names, &block) ⇒ Object
-
#initialize(resource, options = {}) ⇒ ArchiveResource
constructor
A new instance of ArchiveResource.
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, = {}) @resource = resource @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 |