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.7.1 lib/mechanize/form/check_box.rb
mechanize-2.7.0 lib/mechanize/form/check_box.rb
mechanize-2.6.0 lib/mechanize/form/check_box.rb
mechanize-2.5.1 lib/mechanize/form/check_box.rb
mechanize-2.5 lib/mechanize/form/check_box.rb
mechanize-2.4 lib/mechanize/form/check_box.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/mechanize-2.3/lib/mechanize/form/check_box.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/mechanize-2.3/lib/mechanize/form/check_box.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/mechanize-2.3/lib/mechanize/form/check_box.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/mechanize-2.3/lib/mechanize/form/check_box.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/mechanize-2.3/lib/mechanize/form/check_box.rb
mechanize-2.3 lib/mechanize/form/check_box.rb
mechanize-2.2.1 lib/mechanize/form/check_box.rb
mechanize-2.2 lib/mechanize/form/check_box.rb
mechanize-2.1.1 lib/mechanize/form/check_box.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/check_box.rb
diamond-mechanize-2.4 lib/mechanize/form/check_box.rb
diamond-mechanize-2.3 lib/mechanize/form/check_box.rb
diamond-mechanize-2.1 lib/mechanize/form/check_box.rb
mechanize-2.1 lib/mechanize/form/check_box.rb