Module: Camoufox::Pkgman

Defined in:
lib/camoufox/pkgman.rb

Defined Under Namespace

Classes: InstallInfo

Class Method Summary collapse

Class Method Details

.fetch_latestObject



9
10
11
12
# File 'lib/camoufox/pkgman.rb', line 9

def fetch_latest
  warn("[camoufox] binary fetch is not yet implemented in the native port")
  InstallInfo.new(path: "/usr/local/share/camoufox", version: "0.0.0")
end

.installObject



14
15
16
# File 'lib/camoufox/pkgman.rb', line 14

def install
  fetch_latest
end

.install_dirObject



23
24
25
# File 'lib/camoufox/pkgman.rb', line 23

def install_dir
  "/usr/local/share/camoufox"
end

.removeObject



18
19
20
21
# File 'lib/camoufox/pkgman.rb', line 18

def remove
  warn("[camoufox] binary removal is not yet implemented")
  false
end

.version_stringObject



27
28
29
# File 'lib/camoufox/pkgman.rb', line 27

def version_string
  "0.0.0"
end