lib/dry/effects/providers/retry.rb in dry-effects-0.1.1 vs lib/dry/effects/providers/retry.rb in dry-effects-0.1.2
- old
+ new
@@ -5,21 +5,21 @@
module Dry
module Effects
module Providers
class Retry < Provider[:retry]
- include Dry::Equalizer(:scope, :limit, :attempts)
+ include Dry::Equalizer(:scope, :limit, :attempts, inspect: false)
param :scope
attr_reader :attempts
attr_reader :limit
# Yield the block with the handler installed
#
# @api private
- def call(_, limit)
+ def call(limit)
@limit = limit
@attempts = 0
loop do
begin