Class: Fontist::Import::Google::NewFontsFetcher
- Inherits:
-
Object
- Object
- Fontist::Import::Google::NewFontsFetcher
- Defined in:
- lib/fontist/import/google/new_fonts_fetcher.rb
Constant Summary collapse
- REPO_PATH =
Fontist.fontist_path.join("google", "fonts")
- REPO_URL =
"https://github.com/google/fonts.git".freeze
- SKIPLIST_PATH =
File.("skiplist.yml", __dir__)
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(logging: false, limit: nil) ⇒ NewFontsFetcher
constructor
A new instance of NewFontsFetcher.
Constructor Details
#initialize(logging: false, limit: nil) ⇒ NewFontsFetcher
Returns a new instance of NewFontsFetcher.
12 13 14 15 |
# File 'lib/fontist/import/google/new_fonts_fetcher.rb', line 12 def initialize(logging: false, limit: nil) @logging = logging @limit = limit end |
Instance Method Details
#call ⇒ Object
17 18 19 20 |
# File 'lib/fontist/import/google/new_fonts_fetcher.rb', line 17 def call update_repo fetch_new_paths end |