Class: RSpec::FileRetryBudget

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileRetryBudget

Returns a new instance of FileRetryBudget.

Parameters:

  • limit: (Object)
  • path: (String)


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

def initialize: (limit: untyped, path: String) -> void

Instance Attribute Details

#limitInteger (readonly)

Returns the value of attribute limit.

Returns:

  • (Integer)


155
156
157
# File 'sig/rspec/rewind.rbs', line 155

def limit
  @limit
end

#pathString (readonly)

Returns the value of attribute path.

Returns:

  • (String)


156
157
158
# File 'sig/rspec/rewind.rbs', line 156

def path
  @path
end

Instance Method Details

#consumeBudgetDecision

Returns:



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

def consume: () -> BudgetDecision

#consume!Boolean

Returns:

  • (Boolean)


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

def consume!: () -> bool

#remainingInteger

Returns:

  • (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

Returns:

  • (Boolean)


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

def unlimited?: () -> bool

#usedInteger

Returns:

  • (Integer)


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

def used: () -> Integer