Class: Dir

Inherits:
Object
  • Object
show all
Defined in:
lib/launchcraft/java.rb

Class Method Summary collapse

Class Method Details

.pathObject



42
43
44
# File 'lib/launchcraft/java.rb', line 42

def self.path
  ((ENV.key?('PATH') and ENV['PATH'] and !ENV['PATH'].empty?) ? ENV['PATH'] : '').split(File::PATH_SEPARATOR)
end