Method: Ckancli::Command#exec_exist?
- Defined in:
- lib/ckancli/command.rb
#exec_exist?(*args) ⇒ Boolean
Check if executable exists
116 117 118 119 |
# File 'lib/ckancli/command.rb', line 116 def exec_exist?(*args) require 'tty-which' TTY::Which.exist?(*args) end |