class RocketFuel::Precheck::BrewCheck

Constants

BREW_PATH

Public Instance Methods

check?() click to toggle source
# File lib/rocket_fuel/precheck/brew_check.rb, line 15
def check?
  RocketFuel::SystemDetails.platform_family?(:mac)
end
ok?() click to toggle source
# File lib/rocket_fuel/precheck/brew_check.rb, line 11
def ok?
  FileTest.exist?(BREW_PATH)
end

Protected Instance Methods

failure_message() click to toggle source
# File lib/rocket_fuel/precheck/brew_check.rb, line 24
def failure_message
  "brew path NOT found!"
end
success_message() click to toggle source
# File lib/rocket_fuel/precheck/brew_check.rb, line 20
def success_message
  "brew path found."
end