Class: Webrat::SelectOption
- Inherits:
-
Object
- Object
- Webrat::SelectOption
- Defined in:
- lib/visible_cukes.rb
Instance Method Summary collapse
Instance Method Details
#choose ⇒ Object
10 11 12 13 14 15 |
# File 'lib/visible_cukes.rb', line 10 def choose standard_choose current_selections = XML.xpath_search(select_element, ".//option[@selected = 'selected']") remove_selection_from current_selections unless current_selections.empty? @element['selected'] = '' end |
#standard_choose ⇒ Object
8 |
# File 'lib/visible_cukes.rb', line 8 alias :standard_choose :choose |