Module: BioDSL::AuxHelper

Overview

Namespace for AuxHelper.

Instance Method Summary collapse

Instance Method Details

#aux_exist(command) ⇒ Object

Method that raises if the given command is not found on the system.

Parameters:

  • command (String)

    Command that must exist.

Raises:



39
40
41
42
# File 'lib/BioDSL/helpers/aux_helper.rb', line 39

def aux_exist(command)
  return if BioDSL::Filesys.which(command)
  fail AuxiliaryError, "command: #{command} not found"
end