Class: RWebUnit::Context
- Inherits:
-
Object
- Object
- RWebUnit::Context
- Defined in:
- lib/rwebunit/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.
14 15 16 |
# File 'lib/rwebunit/context.rb', line 14 def initialize(base_url) set_base_url(base_url) end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
12 13 14 |
# File 'lib/rwebunit/context.rb', line 12 def base_url @base_url end |
Instance Method Details
#set_base_url(baseUrl) ⇒ Object
18 19 20 |
# File 'lib/rwebunit/context.rb', line 18 def set_base_url(baseUrl) @base_url = baseUrl end |