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 def [](key) @node[key] end
# File lib/mechanize/form/radio_button.rb, line 24 def check uncheck_peers @checked = true end
# File lib/mechanize/form/radio_button.rb, line 35 def click checked ? uncheck : check end
# File lib/mechanize/form/radio_button.rb, line 43 def label (id = self['id']) && @form.page.labels_hash[id] || nil end
Generated with the Darkfish Rdoc Generator 2.