module Vtasks::Utils::System

System module

Public Instance Methods

command?(command) click to toggle source

Check if command exists

# File lib/vtasks/utils/system.rb, line 6
def command?(command)
  system("command -v #{command} >/dev/null 2>&1")
end