Sha256: ae7ffb1ccff1de334bb8ebf9a740ea4b134acd5cbc033e2752e44680d1b87cba

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

require "fontist/errors"
require "fontist/version"

require "fontist/finder"
require "fontist/source"
require "fontist/installer"
require "fontist/system_font"
require "fontist/ms_vista_font"

module Fontist
  def self.lib_path
    Fontist.root_path.join("lib")
  end

  def self.root_path
    Pathname.new(File.dirname(__dir__))
  end

  def self.assets_path
    Fontist.root_path.join("assets")
  end

  def self.fontist_path
    Pathname.new(Dir.home).join(".fontist")
  end

  def self.fonts_path
    Fontist.fontist_path.join("fonts")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fontist-0.2.0 lib/fontist.rb