Class: Luffa::Retry

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/luffa/retry.rb

Instance Method Summary collapse

Instance Method Details

#launch_retriesObject



7
8
9
10
11
# File 'lib/luffa/retry.rb', line 7

def launch_retries
  @launch_retries ||= lambda {
    Luffa::Environment.travis_ci? ? 8 : 2
  }.call
end