This class represents a radio button found in a Form. To activate the RadioButton in the Form, set the checked method to true.
# File lib/mechanize/form/radio_button.rb, line 35
35: def [](key)
36: @node[key]
37: end
# File lib/mechanize/form/radio_button.rb, line 14
14: def check
15: uncheck_peers
16: @checked = true
17: end
# File lib/mechanize/form/radio_button.rb, line 23
23: def click
24: checked ? uncheck : check
25: end
# File lib/mechanize/form/radio_button.rb, line 27
27: def label
28: (id = self['id']) && @form.page.labels_hash[id] || nil
29: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.