Class: Installed
- Inherits:
-
Object
- Object
- Installed
- Defined in:
- lib/classes/installed.rb
Class Method Summary collapse
Class Method Details
.brew? ⇒ Boolean
7 8 9 |
# File 'lib/classes/installed.rb', line 7 def self.brew? `which brew` != "" end |
.nginx? ⇒ Boolean
11 12 13 |
# File 'lib/classes/installed.rb', line 11 def self.nginx? `which nginx` != "" end |
.phpfpm? ⇒ Boolean
15 16 17 |
# File 'lib/classes/installed.rb', line 15 def self.phpfpm? `which php-fpm` != "" end |
.yum? ⇒ Boolean
3 4 5 |
# File 'lib/classes/installed.rb', line 3 def self.yum? `which yum` != "" end |