Class: RSpec::RetryPolicy

Inherits:
Object
  • Object
show all
Defined in:
sig/rspec/rewind.rbs

Instance Method Summary collapse

Constructor Details

#initializeRetryPolicy

Returns a new instance of RetryPolicy.

Parameters:

  • example: (Object)
  • configuration: (Configuration)
  • metadata: (Hash[Symbol, untyped], nil)


268
# File 'sig/rspec/rewind.rbs', line 268

def initialize: (example: untyped, configuration: Configuration, metadata: Hash[Symbol, untyped]?) -> void

Instance Method Details

#decisionObject



270
# File 'sig/rspec/rewind.rbs', line 270

def decision: (

#retry_allowed?Boolean

Parameters:

  • exception: (Exception)
  • retry_on: (Object)
  • skip_retry_on: (Object)
  • retry_if: (Object, nil)

Returns:

  • (Boolean)


269
# File 'sig/rspec/rewind.rbs', line 269

def retry_allowed?: (exception: Exception, retry_on: untyped, skip_retry_on: untyped, retry_if: untyped?) -> bool