Class: Getch::Void::Tarball
- Inherits:
-
Object
- Object
- Getch::Void::Tarball
- Defined in:
- lib/getch/void/tarball.rb
Overview
Download the last tarball of void
Instance Method Summary collapse
-
#initialize ⇒ Tarball
constructor
A new instance of Tarball.
- #x ⇒ Object
Constructor Details
#initialize ⇒ Tarball
Returns a new instance of Tarball.
9 10 11 12 13 14 15 |
# File 'lib/getch/void/tarball.rb', line 9 def initialize @log = Log.new @url = 'https://repo-default.voidlinux.org/live/current' @file = 'sha256sum.txt' @xbps = false Dir.chdir OPTIONS[:mountpoint] end |
Instance Method Details
#x ⇒ Object
17 18 19 20 21 22 |
# File 'lib/getch/void/tarball.rb', line 17 def x @xbps = search_archive download checksum install end |