lib/watir/elements/button.rb in watir-6.13.0 vs lib/watir/elements/button.rb in watir-6.14.0

- old
+ new

@@ -1,17 +1,15 @@ module Watir - # # Class representing button elements. # # This class covers both <button> and <input type="submit|reset|image|button" /> elements. # class Button < HTMLElement - inherit_attributes_from Watir::Input - VALID_TYPES = %w[button reset submit image] + VALID_TYPES = %w[button reset submit image].freeze # # Returns the text of the button. # # For input elements, returns the "value" attribute.