lib/watir-webdriver/elements/checkbox.rb in watir-webdriver-0.7.0 vs lib/watir-webdriver/elements/checkbox.rb in watir-webdriver-0.8.0

- old
+ new

@@ -1,7 +1,5 @@ -# encoding: utf-8 - module Watir class CheckBox < Input # # Sets checkbox to the given value. @@ -40,14 +38,14 @@ end # CheckBox module Container def checkbox(*args) - CheckBox.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) + CheckBox.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end def checkboxes(*args) - CheckBoxCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) + CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end end # Container class CheckBoxCollection < InputCollection def element_class