Class: Fontist::Update
- Inherits:
 - 
      Object
      
        
- Object
 - Fontist::Update
 
 
- Defined in:
 - lib/fontist/update.rb
 
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
 - 
  
    
      #initialize(branch = "main")  ⇒ Update 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Update.
 
Constructor Details
#initialize(branch = "main") ⇒ Update
Returns a new instance of Update.
      7 8 9  | 
    
      # File 'lib/fontist/update.rb', line 7 def initialize(branch = "main") @branch = branch end  | 
  
Class Method Details
.call ⇒ Object
      3 4 5  | 
    
      # File 'lib/fontist/update.rb', line 3 def self.call new(Fontist.formulas_version).call end  | 
  
Instance Method Details
#call ⇒ Object
      11 12 13 14 15 16  | 
    
      # File 'lib/fontist/update.rb', line 11 def call update_main_repo update_private_repos ensure rebuild_index end  |