method

attempt

ruby latest stable - Class: Bundler::Retry

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

attempt(&block)
public

No documentation available.

# File lib/bundler/retry.rb, line 26
    def attempt(&block)
      @current_run = 0
      @failed      = false
      @error       = nil
      run(&block) while keep_trying?
      @result
    end