lib/rext/object/helpers.rb in rext-0.3.4 vs lib/rext/object/helpers.rb in rext-0.3.5

- old
+ new

@@ -50,13 +50,11 @@ # end # # => allows 3 tries to fetch the response # def try times = 1, options = {}, &block - value = yield + yield rescue options[:on] || Exception retry if (times -= 1) > 0 - else - value end end \ No newline at end of file