Class: Watirmark::RadioMapElement
- Defined in:
- lib/watirmark/page/radio_maps.rb
Instance Attribute Summary collapse
-
#list ⇒ Object
Returns the value of attribute list.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RadioMapElement
constructor
A new instance of RadioMapElement.
- #map_to(x) ⇒ Object (also: #maps_to)
Constructor Details
#initialize(*args) ⇒ RadioMapElement
Returns a new instance of RadioMapElement.
6 7 8 9 |
# File 'lib/watirmark/page/radio_maps.rb', line 6 def initialize(*args) @list= *args @value = nil end |
Instance Attribute Details
#list ⇒ Object
Returns the value of attribute list.
4 5 6 |
# File 'lib/watirmark/page/radio_maps.rb', line 4 def list @list end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/watirmark/page/radio_maps.rb', line 4 def value @value end |
Instance Method Details
#map_to(x) ⇒ Object Also known as: maps_to
11 12 13 |
# File 'lib/watirmark/page/radio_maps.rb', line 11 def map_to(x) @value = x end |