Class: Fontist::SystemIndex
- Inherits:
-
Object
- Object
- Fontist::SystemIndex
- Includes:
- Utils::Locking
- Defined in:
- lib/fontist/system_index.rb
Class Method Summary collapse
Methods included from Utils::Locking
Class Method Details
.fontist_index ⇒ Object
224 225 226 227 228 229 |
# File 'lib/fontist/system_index.rb', line 224 def self.fontist_index @fontist_index = SystemIndexFontCollection.from_file( path: Fontist.fontist_index_path, paths_loader: -> { SystemFont.fontist_font_paths }, ) end |
.system_index ⇒ Object
217 218 219 220 221 222 |
# File 'lib/fontist/system_index.rb', line 217 def self.system_index @system_index = SystemIndexFontCollection.from_file( path: Fontist.system_index_path, paths_loader: -> { SystemFont.font_paths }, ) end |