class Server::Installed
Public Class Methods
brew?()
click to toggle source
# File lib/server/installed.rb, line 9 def self.brew? `which brew` != "" end
nginx?()
click to toggle source
# File lib/server/installed.rb, line 13 def self.nginx? `which nginx` != "" end
phpfpm?()
click to toggle source
# File lib/server/installed.rb, line 17 def self.phpfpm? `which php-fpm` != "" end
yum?()
click to toggle source
# File lib/server/installed.rb, line 5 def self.yum? `which yum` != "" end