Class: GameIcons::Update

Inherits:
Object
  • Object
show all
Defined in:
lib/game_icons/tasks/update.rb

Constant Summary collapse

@@URL =
'https://game-icons.net/archives/svg/zip/ffffff/000000/game-icons.net.svg.zip'
@@TMP_ZIP =
'game-icons.net.svg.zip'

Class Method Summary collapse

Class Method Details

.runObject



11
12
13
14
15
16
17
18
19
# File 'lib/game_icons/tasks/update.rb', line 11

def self.run
  puts "Clearing..."
  clear
  puts "Downloading..."
  download
  puts "Unzipping..."
  unzip
  puts "Done."
end