Class: RSpec::RetryBudget
- Inherits:
-
Object
- Object
- RSpec::RetryBudget
- Defined in:
- sig/rspec/rewind.rbs
Instance Attribute Summary collapse
-
#limit ⇒ Integer?
readonly
Returns the value of attribute limit.
-
#used ⇒ Integer
readonly
Returns the value of attribute used.
Instance Method Summary collapse
- #consume ⇒ BudgetDecision
- #consume! ⇒ Boolean
-
#initialize ⇒ RetryBudget
constructor
A new instance of RetryBudget.
- #remaining ⇒ Integer, Float
- #reset! ⇒ void
- #unlimited? ⇒ Boolean
Constructor Details
#initialize ⇒ RetryBudget
146 |
# File 'sig/rspec/rewind.rbs', line 146 def initialize: (untyped) -> void |
Instance Attribute Details
#limit ⇒ Integer? (readonly)
Returns the value of attribute limit.
143 144 145 |
# File 'sig/rspec/rewind.rbs', line 143 def limit @limit end |
#used ⇒ Integer (readonly)
Returns the value of attribute used.
144 145 146 |
# File 'sig/rspec/rewind.rbs', line 144 def used @used end |
Instance Method Details
#consume ⇒ BudgetDecision
148 |
# File 'sig/rspec/rewind.rbs', line 148 def consume: () -> BudgetDecision |
#consume! ⇒ Boolean
147 |
# File 'sig/rspec/rewind.rbs', line 147 def consume!: () -> bool |
#remaining ⇒ Integer, 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 |