Module: CucumberSteps::ENVFetcher
Constant Summary collapse
- TRANSLATE_TABLE =
{ 'yes' => true, 'true' => true, 'no' => false, 'false' => false }
Instance Method Summary collapse
Instance Method Details
#browser_name ⇒ Object
19 20 21 |
# File 'lib/cucumber_steps/env_fetcher.rb', line 19 def browser_name lookup_value_by('BROWSER', 'BROWSER_NAME') end |
#close_browser_at_exit? ⇒ Boolean
15 16 17 |
# File 'lib/cucumber_steps/env_fetcher.rb', line 15 def close_browser_at_exit? not lookup_for(false, 'CLOSE_BROWSER_AT_EXIT', 'BROWSER_CLOSE_AT_EXIT', 'CLOSE_BROWSER') end |
#development? ⇒ Boolean
11 12 13 |
# File 'lib/cucumber_steps/env_fetcher.rb', line 11 def development? lookup_for true, 'DEVELOPER_ENV' end |