Sha256: 32c9c2390857d9a3793919d7d9e05005dd891c995f1ffc2aaacc01317932ad49

Contents?: true

Size: 348 Bytes

Versions: 30

Compression:

Stored size: 348 Bytes

Contents

require_relative "default_family_font_index"
require_relative "preferred_family_font_index"

module Fontist
  module Indexes
    class FontIndex
      def self.from_yaml
        if Fontist.preferred_family?
          PreferredFamilyFontIndex.from_yaml
        else
          DefaultFamilyFontIndex.from_yaml
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
fontist-1.13.0 lib/fontist/indexes/font_index.rb
fontist-1.12.0 lib/fontist/indexes/font_index.rb
fontist-1.11.7 lib/fontist/indexes/font_index.rb
fontist-1.11.6 lib/fontist/indexes/font_index.rb
fontist-1.11.5 lib/fontist/indexes/font_index.rb
fontist-1.11.3 lib/fontist/indexes/font_index.rb
fontist-1.11.2 lib/fontist/indexes/font_index.rb
fontist-1.11.1 lib/fontist/indexes/font_index.rb
fontist-1.10.1 lib/fontist/indexes/font_index.rb
fontist-1.10.0 lib/fontist/indexes/font_index.rb