class Fontist::Update

Public Class Methods

call() click to toggle source
# File lib/fontist/update.rb, line 3
def self.call
  new(Fontist.formulas_version).call
end
new(branch = "main") click to toggle source
# File lib/fontist/update.rb, line 7
def initialize(branch = "main")
  @branch = branch
end

Public Instance Methods

call() click to toggle source
# File lib/fontist/update.rb, line 11
def call
  update_main_repo
  update_private_repos
ensure
  rebuild_index
end