Class: Server::Installed
- Inherits:
-
Object
- Object
- Server::Installed
- Defined in:
- lib/server/installed.rb
Class Method Summary collapse
Class Method Details
.brew? ⇒ Boolean
9 10 11 |
# File 'lib/server/installed.rb', line 9 def self.brew? `which brew` != "" end |
.nginx? ⇒ Boolean
13 14 15 |
# File 'lib/server/installed.rb', line 13 def self.nginx? `which nginx` != "" end |
.phpfpm? ⇒ Boolean
17 18 19 |
# File 'lib/server/installed.rb', line 17 def self.phpfpm? `which php-fpm` != "" end |
.yum? ⇒ Boolean
5 6 7 |
# File 'lib/server/installed.rb', line 5 def self.yum? `which yum` != "" end |