Class: CodeFormatter::Environment
- Inherits:
-
Object
- Object
- CodeFormatter::Environment
- Defined in:
- lib/code_formatter/environment.rb
Class Method Summary collapse
Class Method Details
.exist?(command) ⇒ Boolean
3 4 5 |
# File 'lib/code_formatter/environment.rb', line 3 def self.exist?(command) !`which #{command}`.empty? end |