Class: RWebUnit::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/rwebunit/context.rb

Overview

Store test optionns

Instance Attribute Summary collapse

Instance Method Summary collapse

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_urlObject

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