Method: Mechanize::Form::Option#click
- Defined in:
- lib/mechanize/form/option.rb
#click ⇒ Object
Toggle the selection value of this option
40 41 42 43 |
# File 'lib/mechanize/form/option.rb', line 40 def click unselect_peers @selected = !@selected end |