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.21.2 lib/fontist/indexes/font_index.rb
fontist-1.21.1 lib/fontist/indexes/font_index.rb
fontist-1.20.0 lib/fontist/indexes/font_index.rb
fontist-1.19.0 lib/fontist/indexes/font_index.rb
fontist-1.18.2 lib/fontist/indexes/font_index.rb
fontist-1.17.1 lib/fontist/indexes/font_index.rb
fontist-1.17.0 lib/fontist/indexes/font_index.rb
fontist-1.16.0 lib/fontist/indexes/font_index.rb
fontist-1.15.2 lib/fontist/indexes/font_index.rb
fontist-1.15.1 lib/fontist/indexes/font_index.rb
fontist-1.15.0 lib/fontist/indexes/font_index.rb
fontist-1.14.6 lib/fontist/indexes/font_index.rb
fontist-1.14.5 lib/fontist/indexes/font_index.rb
fontist-1.14.4 lib/fontist/indexes/font_index.rb
fontist-1.14.3 lib/fontist/indexes/font_index.rb
fontist-1.14.2 lib/fontist/indexes/font_index.rb
fontist-1.14.1 lib/fontist/indexes/font_index.rb
fontist-1.14.0 lib/fontist/indexes/font_index.rb
fontist-1.13.2 lib/fontist/indexes/font_index.rb
fontist-1.13.1 lib/fontist/indexes/font_index.rb