Module: RainforestRubyRuntime
- Defined in:
- lib/rainforest_ruby_runtime.rb,
lib/rainforest_ruby_runtime/dsl.rb,
lib/rainforest_ruby_runtime/test.rb,
lib/rainforest_ruby_runtime/empty.rb,
lib/rainforest_ruby_runtime/runner.rb,
lib/rainforest_ruby_runtime/version.rb,
lib/rainforest_ruby_runtime/exceptions.rb,
lib/rainforest_ruby_runtime/drivers/sauce.rb,
lib/rainforest_ruby_runtime/nil_delegator.rb,
lib/rainforest_ruby_runtime/variables/scope.rb,
lib/rainforest_ruby_runtime/variables/value.rb,
lib/rainforest_ruby_runtime/drivers/selenium.rb,
lib/rainforest_ruby_runtime/variables/registry.rb
Defined Under Namespace
Modules: Drivers, Variables
Classes: DSL, Empty, Exception, NilDelegator, Runner, Step, Test, WrongReturnValueError
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
22
23
24
25
26
27
28
|
# File 'lib/rainforest_ruby_runtime.rb', line 22
def self.platform
case RUBY_PLATFORM
when /cygwin|mswin|mingw|bccwin|wince|emx/ then :windows
when /darwin/ then :osx
else :linux
end
end
|
.root ⇒ Object
30
31
32
|
# File 'lib/rainforest_ruby_runtime.rb', line 30
def self.root
File.dirname(__dir__)
end
|
.sc_executable_path ⇒ Object
34
35
36
37
38
39
40
|
# File 'lib/rainforest_ruby_runtime.rb', line 34
def self.sc_executable_path
if platform == :windows
'vendor/sauce/sc.exe'
else
'vendor/sauce/sc'
end
end
|