Class: Watirmark::RadioMapElement

Inherits:
Object
  • Object
show all
Defined in:
lib/watirmark/page/radio_maps.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#listObject

Returns the value of attribute list.



4
5
6
# File 'lib/watirmark/page/radio_maps.rb', line 4

def list
  @list
end

#valueObject

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