Module: Approvals::SystemCommand

Defined in:
lib/approvals/system_command.rb

Class Method Summary collapse

Class Method Details

.exists?(executable) ⇒ Boolean


6
7
8
# File 'lib/approvals/system_command.rb', line 6

def exists?(executable)
  `which #{executable}` != ""
end