Module: Fontist::CLI::ClassOptions
- Included in:
- Fontist::CLI, Fontist::CacheCLI, FontconfigCLI, ImportCLI, RepoCLI
- Defined in:
- lib/fontist/cli/class_options.rb
Instance Method Summary collapse
Instance Method Details
#handle_class_options(options) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/fontist/cli/class_options.rb', line 4 def () Fontist.preferred_family = [:preferred_family] Fontist.log_level = [:quiet] ? :fatal : :info if [:formulas_path] Fontist.formulas_path = Pathname.new([:formulas_path]) end end |