class NativePackageInstaller::Platform::FreeBSD
Public Class Methods
Source
# File lib/native-package-installer/platform/freebsd.rb, line 22 def current_platform? ExecutableFinder.exist?("pkg") end
Public Instance Methods
Source
# File lib/native-package-installer/platform/freebsd.rb, line 31 def install_command "pkg install -y" end
Source
# File lib/native-package-installer/platform/freebsd.rb, line 35 def need_super_user_priviledge? true end
Source
# File lib/native-package-installer/platform/freebsd.rb, line 27 def package(spec) spec[:freebsd] end