class Fontist::Fontconfig
Public Class Methods
Source
# File lib/fontist/fontconfig.rb, line 11 def initialize(options = {}) @options = options end
Source
# File lib/fontist/fontconfig.rb, line 7 def self.remove(options = {}) new(options).remove end
Public Instance Methods
Source
# File lib/fontist/fontconfig.rb, line 21 def remove return handle_file_not_found unless config_exists? regenerate_fontconfig_cache if fontconfig_installed? remove_config end
Source
# File lib/fontist/fontconfig.rb, line 15 def update ensure_fontconfig_installed create_config regenerate_fontconfig_cache end