Module: Deploy::Utility
Instance Method Summary collapse
Instance Method Details
#command?(command) ⇒ Boolean
4 5 6 |
# File 'lib/deploy/utility.rb', line 4 def command?(command) system("which #{command} > /dev/null 2>&1") end |