Sha256: a27c0cb1c5c37844a99439ead5f379d94c6244532fe12c50776470c27ccec544
Contents?: true
Size: 606 Bytes
Versions: 20
Compression:
Stored size: 606 Bytes
Contents
require_relative "google/new_fonts_fetcher" module Fontist module Import class GoogleCheck def call fetch_formulas fonts = new_fonts indicate(fonts) end private def fetch_formulas Formula.update_formulas_repo end def new_fonts Fontist::Import::Google::NewFontsFetcher.new(logging: true).call end def indicate(new_paths) return if new_paths.empty? puts "New fonts are available in:" new_paths.each do |path| puts path end abort end end end end
Version data entries
20 entries across 20 versions & 1 rubygems