Class: Tddium::Scripts

Inherits:
Object
  • Object
show all
Includes:
TddiumConstant
Defined in:
lib/tddium/script.rb

Class Method Summary collapse

Class Method Details

.prepend_script_pathObject



6
7
8
9
10
# File 'lib/tddium/script.rb', line 6

def self.prepend_script_path
  path = ENV['PATH'].split(':')
  path.unshift(Config::EMBEDDED_SCRIPT_PATH)
  ENV['PATH'] = path.join(':')
end