class Fontist::Indexes::FontIndex

Public Class Methods

from_yaml() click to toggle source
# 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