Class: RSpec::RetryBudget

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRetryBudget



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

def initialize: (untyped) -> void

Instance Attribute Details

#limitInteger? (readonly)

Returns the value of attribute limit.



143
144
145
# File 'sig/rspec/rewind.rbs', line 143

def limit
  @limit
end

#usedInteger (readonly)

Returns the value of attribute used.



144
145
146
# File 'sig/rspec/rewind.rbs', line 144

def used
  @used
end

Instance Method Details

#consumeBudgetDecision



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

def consume: () -> BudgetDecision

#consume!Boolean



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

def consume!: () -> bool

#remainingInteger, Float



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

def remaining: () -> Integer | Float

#reset!void



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

def reset!: () -> void

#unlimited?Boolean



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

def unlimited?: () -> bool