class Fontist::Import::GoogleCheck
Public Instance Methods
call()
click to toggle source
# File lib/fontist/import/google_check.rb, line 6 def call fonts = new_fonts indicate(fonts) end
Private Instance Methods
indicate(new_paths)
click to toggle source
# File lib/fontist/import/google_check.rb, line 17 def indicate(new_paths) return if new_paths.empty? puts "New fonts are available in:" new_paths.each do |path| puts path end end
new_fonts()
click to toggle source
# File lib/fontist/import/google_check.rb, line 13 def new_fonts Fontist::Import::Google::NewFontsFetcher.new(logging: true).call end