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