> @@ -2,6 +2,16 @@
> require 'forwardable'
>
> module Watir
> +
> + #
> + # Configurable default wait time for wait methods.
> + #
> +
> + @default_timeout = 30
> + class << self
> + attr_accessor :default_timeout
I would say it should be moved to `Watir::Wait` and refactored a bit like:
```ruby
module Watir
module Wait
class << self
attr_writer :timeout
def timeout
@timeout ||= 30
end
end # self
end # Wait
end # Watir
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/230/files#r7848749_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development