Class: RSpec::FileRetryBudget
- Inherits:
-
Object
- Object
- RSpec::FileRetryBudget
- Defined in:
- sig/rspec/rewind.rbs
Instance Attribute Summary collapse
-
#limit ⇒ Integer
readonly
Returns the value of attribute limit.
-
#path ⇒ String
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #consume ⇒ BudgetDecision
- #consume! ⇒ Boolean
-
#initialize ⇒ FileRetryBudget
constructor
A new instance of FileRetryBudget.
- #remaining ⇒ Integer
- #reset! ⇒ void
- #unlimited? ⇒ Boolean
- #used ⇒ Integer
Constructor Details
#initialize ⇒ FileRetryBudget
Returns a new instance of FileRetryBudget.
158 |
# File 'sig/rspec/rewind.rbs', line 158
def initialize: (limit: untyped, path: String) -> void
|
Instance Attribute Details
#limit ⇒ Integer (readonly)
Returns the value of attribute limit.
155 156 157 |
# File 'sig/rspec/rewind.rbs', line 155 def limit @limit end |
#path ⇒ String (readonly)
Returns the value of attribute path.
156 157 158 |
# File 'sig/rspec/rewind.rbs', line 156 def path @path end |
Instance Method Details
#consume ⇒ BudgetDecision
160 |
# File 'sig/rspec/rewind.rbs', line 160
def consume: () -> BudgetDecision
|
#consume! ⇒ Boolean
159 |
# File 'sig/rspec/rewind.rbs', line 159
def consume!: () -> bool
|
#remaining ⇒ Integer
162 |
# File 'sig/rspec/rewind.rbs', line 162
def remaining: () -> Integer
|
#reset! ⇒ void
This method returns an undefined value.
164 |
# File 'sig/rspec/rewind.rbs', line 164
def reset!: () -> void
|
#unlimited? ⇒ Boolean
163 |
# File 'sig/rspec/rewind.rbs', line 163
def unlimited?: () -> bool
|
#used ⇒ Integer
161 |
# File 'sig/rspec/rewind.rbs', line 161
def used: () -> Integer
|