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.9.3 lib/fontist/import/google.rb
fontist-1.9.2 lib/fontist/import/google.rb
fontist-1.11.1 lib/fontist/import/google.rb
fontist-1.10.1 lib/fontist/import/google.rb
fontist-1.10.0 lib/fontist/import/google.rb
fontist-1.9.1 lib/fontist/import/google.rb
fontist-1.9.0 lib/fontist/import/google.rb
fontist-1.8.13 lib/fontist/import/google.rb
fontist-1.8.12 lib/fontist/import/google.rb
fontist-1.8.11 lib/fontist/import/google.rb
fontist-1.8.10 lib/fontist/import/google.rb
fontist-1.8.9 lib/fontist/import/google.rb
fontist-1.8.8 lib/fontist/import/google.rb
fontist-1.8.7 lib/fontist/import/google.rb
fontist-1.8.6 lib/fontist/import/google.rb
fontist-1.8.5 lib/fontist/import/google.rb
fontist-1.8.4 lib/fontist/import/google.rb
fontist-1.8.3 lib/fontist/import/google.rb
fontist-1.8.2 lib/fontist/import/google.rb
fontist-1.8.1 lib/fontist/import/google.rb