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 51 51: def [](key) 52: @node[key] 53: end
# File lib/mechanize/form/radio_button.rb, line 24 24: def check 25: uncheck_peers 26: @checked = true 27: end
# File lib/mechanize/form/radio_button.rb, line 35 35: def click 36: checked ? uncheck : check 37: end
# File lib/mechanize/form/radio_button.rb, line 43 43: def label 44: (id = self['id']) && @form.page.labels_hash[id] || nil 45: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.