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