Class: Fontist::Indexes::FontIndex

Inherits:
Object
  • Object
show all
Defined in:
lib/fontist/indexes/font_index.rb

Class Method Summary collapse

Class Method Details

.from_yamlObject



7
8
9
10
11
12
13
# File 'lib/fontist/indexes/font_index.rb', line 7

def self.from_yaml
  if Fontist.preferred_family?
    PreferredFamilyFontIndex.from_yaml
  else
    DefaultFamilyFontIndex.from_yaml
  end
end