Class: ReeStd::RetryOnFail

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_std/package/ree_std/functions/retry_on_fail.rb

Instance Method Summary collapse

Instance Method Details

#call(max:, **opts, &block) ⇒ Object



43
44
45
# File 'lib/ree_lib/packages/ree_std/package/ree_std/functions/retry_on_fail.rb', line 43

def call(max:, **opts, &block)
  Retry.new(max: max, **opts).call(&block)
end