lib/watir-webdriver/elements/input.rb in watir-webdriver-0.6.1 vs lib/watir-webdriver/elements/input.rb in watir-webdriver-0.6.2
- old
+ new
@@ -2,9 +2,15 @@
module Watir
class Input < HTMLElement
alias_method :readonly?, :read_only?
+ #
+ # Returns true if input is enabled.
+ #
+ # @return [Boolean]
+ #
+
def enabled?
!disabled?
end
#