| Class | WWW::Mechanize::Form::Option |
| In: |
lib/www/mechanize/form/option.rb
|
| Parent: | Object |
This class contains option an option found within SelectList. A SelectList can have many Option classes associated with it. An option can be selected by calling Option#tick, or Option#click. For example, select the first option in a list:
select_list.first.tick
| value | -> | to_s |
| selected | -> | selected? |
| select_list | [R] | |
| selected | [R] | |
| text | [R] | |
| value | [R] |