Sha256: 8a0d21dfe0334246e4eb24da9046e8fe6970b3bfb386734a01d9d1c8cddad4b9

Contents?: true

Size: 331 Bytes

Versions: 28

Compression:

Stored size: 331 Bytes

Contents

module Fontist
  module Import
    module Google
      def self.formula_path(name)
        filename = name.downcase.gsub(" ", "_") + ".yml"
        Fontist.formulas_path.join("google", filename)
      end

      def self.style_version(text)
        return unless text

        text.gsub("Version ", "")
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
fontist-1.7.3 lib/fontist/import/google.rb
fontist-1.7.2 lib/fontist/import/google.rb
fontist-1.7.1 lib/fontist/import/google.rb
fontist-1.7.0 lib/fontist/import/google.rb
fontist-1.6.0 lib/fontist/import/google.rb
fontist-1.5.1 lib/fontist/import/google.rb
fontist-1.5.0 lib/fontist/import/google.rb
fontist-1.4.0 lib/fontist/import/google.rb