lib/calabash/wait.rb in calabash-2.0.0.pre2 vs lib/calabash/wait.rb in calabash-2.0.0.pre3
- old
+ new
@@ -25,13 +25,17 @@
# whether to embed a screenshot on failure
screenshot_on_error: true
}
+ # Returns the default wait options.
+ # @return [Hash] Key/value pairs describing the wait options.
def self.default_options
@@default_options
end
+ # Sets the default wait options.
+ # @param [Hash] value The new default wait options.
def self.default_options=(value)
@@default_options = value
end
# Evaluates the block given. If the execution time of the block exceeds