Sha256: bfe2764440c90ad52cf258bba764589245a4eacbbfbaef71e17aafca4b3a8e4f

Contents?: true

Size: 254 Bytes

Versions: 21

Compression:

Stored size: 254 Bytes

Contents

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

class Mechanize::Form::CheckBox < Mechanize::Form::RadioButton

  def query_value
    [[@name, @value || "on"]]
  end

end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
mechanize-2.1.pre.1 lib/mechanize/form/check_box.rb