Method: CodeFormatter::Environment.exist?

Defined in:
lib/code_formatter/environment.rb

.exist?(command) ⇒ Boolean

Returns:



5
6
7
# File 'lib/code_formatter/environment.rb', line 5

def self.exist?(command)
  !`which #{command}`.empty?
end