class Fontist::GoogleCLI
Public Instance Methods
check()
click to toggle source
# File lib/fontist/google_cli.rb, line 6 def check handle_class_options(options) require "fontist/import/google_check" Fontist::Import::GoogleCheck.new.call CLI::STATUS_SUCCESS end
import()
click to toggle source
# File lib/fontist/google_cli.rb, line 14 def import handle_class_options(options) require "fontist/import/google_import" Fontist::Import::GoogleImport.new.call CLI::STATUS_SUCCESS end
Private Instance Methods
handle_class_options(options)
click to toggle source
# File lib/fontist/google_cli.rb, line 23 def handle_class_options(options) if options[:formulas_path] Fontist.formulas_path = Pathname.new(options[:formulas_path]) end end