class Fontist::Import::Macos

Constants

FONT_XML
HOMEPAGE

Public Class Methods

new(font_xml = FONT_XML) click to toggle source
# File lib/fontist/import/macos.rb, line 11
def initialize(font_xml = FONT_XML)
  @font_xml = font_xml
end

Public Instance Methods

call() click to toggle source
# File lib/fontist/import/macos.rb, line 15
def call
  links.each do |link|
    create_formula(link)
  end

  Fontist::Index.rebuild

  Fontist.ui.success("Created #{links.size} formulas.")
end