class Mechanize::Form::CheckBox

This class represents a check box found in a Form. To activate the CheckBox in the Form, set the checked method to true.

Public Instance Methods

query_value() click to toggle source
# File lib/mechanize/form/check_box.rb, line 7
def query_value
  [[@name, @value || "on"]]
end