Class: RWebSpec::WebDriver::Context
- Inherits:
-
Object
- Object
- RWebSpec::WebDriver::Context
- Defined in:
- lib/rwebspec-webdriver/context.rb
Overview
Store test optionns
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
Instance Method Summary collapse
-
#initialize(base_url) ⇒ Context
constructor
A new instance of Context.
- #set_base_url(baseUrl) ⇒ Object
Constructor Details
#initialize(base_url) ⇒ Context
Returns a new instance of Context.
15 16 17 |
# File 'lib/rwebspec-webdriver/context.rb', line 15 def initialize(base_url) set_base_url(base_url) end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
13 14 15 |
# File 'lib/rwebspec-webdriver/context.rb', line 13 def base_url @base_url end |
Instance Method Details
#set_base_url(baseUrl) ⇒ Object
19 20 21 |
# File 'lib/rwebspec-webdriver/context.rb', line 19 def set_base_url(baseUrl) @base_url = baseUrl end |