class Faststrap::InstallActions::HomebrewInstallAction
Public Class Methods
cmd()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 13 def self.cmd system 'ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"' end
description()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 10 def self.description "Install Homebrew" end
group()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 5 def self.group Faststrap::ActionsGroup::INSTALLERS end
installed?()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 26 def self.installed? Faststrap::InstallActions.cmd? "brew" end
name()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 22 def self.name "Homebrew" end
ucmd()
click to toggle source
# File lib/faststrap/install_actions/homebrew_install_action.rb, line 18 def self.ucmd system 'ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"' end