Sha256: 87a4ece0197871b1d74df813df715bf62438a3f5ac7f6728800c72e521d37dcd
Contents?: true
Size: 439 Bytes
Versions: 10
Compression:
Stored size: 439 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 def inspect # :nodoc: "[%s:0x%x type: %s name: %s value: %s]" % [ self.class.name.sub(/Mechanize::Form::/, '').downcase, object_id, type, name, checked ] end end
Version data entries
10 entries across 10 versions & 2 rubygems