Sha256: 6cfd7183a01dd2bf523aacac1024e13bd41f2bec7d24274a420e8b57516b657b

Contents?: true

Size: 317 Bytes

Versions: 24

Compression:

Stored size: 317 Bytes

Contents

module WWW
  class Mechanize
    class Form
      # This class represents a check box found in a Form.  To activate the
      # CheckBox in the Form, set the checked method to true.
      class CheckBox < RadioButton
        def query_value
          [[@name, @value || "on"]]
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
eric-mechanize-0.9.3.20090623142847 lib/www/mechanize/form/check_box.rb
knu-mechanize-0.9.3.20090623142847 lib/www/mechanize/form/check_box.rb
tenderlove-mechanize-0.9.3.20090617085936 lib/www/mechanize/form/check_box.rb
tenderlove-mechanize-0.9.3.20090623142847 lib/www/mechanize/form/check_box.rb
mechanize-ntlm-0.9.1 lib/www/mechanize/form/check_box.rb
mechanize-0.7.7 lib/www/mechanize/form/check_box.rb
mechanize-0.7.3 lib/www/mechanize/form/check_box.rb
mechanize-0.7.5 lib/www/mechanize/form/check_box.rb
mechanize-0.7.4 lib/www/mechanize/form/check_box.rb
mechanize-0.8.0 lib/www/mechanize/form/check_box.rb
mechanize-0.7.1 lib/www/mechanize/form/check_box.rb
mechanize-0.7.0 lib/www/mechanize/form/check_box.rb
mechanize-0.7.2 lib/www/mechanize/form/check_box.rb
mechanize-0.7.6 lib/www/mechanize/form/check_box.rb
mechanize-0.7.8 lib/www/mechanize/form/check_box.rb
mechanize-0.8.4 lib/www/mechanize/form/check_box.rb
mechanize-0.8.2 lib/www/mechanize/form/check_box.rb
mechanize-0.8.3 lib/www/mechanize/form/check_box.rb
mechanize-0.8.1 lib/www/mechanize/form/check_box.rb
mechanize-0.9.3 lib/www/mechanize/form/check_box.rb