lib/sym/extensions/with_timeout.rb in sym-2.8.5 vs lib/sym/extensions/with_timeout.rb in sym-2.10.0
- old
+ new
@@ -1,10 +1,10 @@
module Sym
module Extensions
module WithTimeout
def with_timeout(timeout = 3)
- status = Timeout::timeout(timeout) {
+ status = Timeout.timeout(timeout) {
yield if block_given?
}
end
end