Class: Rukuli::Platform

Inherits:
Object
  • Object
show all
Defined in:
lib/rukuli/platform.rb

Class Method Summary collapse

Class Method Details

.sikulix_pathObject


4
5
6
7
8
9
10
# File 'lib/rukuli/platform.rb', line 4

def self.sikulix_path
  path = "#{ENV['SIKULIX_HOME']}"
  if ENV['SIKULIX_HOME'].nil?
    raise LoadError, "Failed to load 'sikuli-java.jar'\nMake sure SIKULIX_HOME is set!"
  end
  path
end