class Fontist::Errors::UnsupportedFontError

Public Class Methods

new(font) click to toggle source
Calls superclass method Fontist::Errors::FontError::new
# File lib/fontist/errors.rb, line 114
      def initialize(font)
        msg = <<~MSG.chomp
          Font '#{font}' not found locally nor available in the Fontist formula repository.
          Perhaps it is available at the latest Fontist formula repository.
          You can update the formula repository using the command `fontist update` and try again.
        MSG

        super(msg, font)
      end