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
5 6 7 |
# File 'lib/code_formatter/environment.rb', line 5 def self.exist?(command) !`which #{command}`.empty? end |