class Strapper::Recipes::Pow

Public Instance Methods

installed?() click to toggle source
# File lib/strapper/recipes/pow.rb, line 7
def installed?
  File.directory?(File.expand_path("~/Library/Application\ Support/Pow"))
end
run() click to toggle source
# File lib/strapper/recipes/pow.rb, line 11
def run
  if installed?
    puts "Pow is already installed"
  else
    puts "Installing pow"
    `curl get.pow.cx | sh`
  end
end