Class: Rhod::Backoffs::Constant
- Defined in:
- lib/rhod/backoffs/constant.rb
Instance Attribute Summary
Attributes inherited from Backoff
Instance Method Summary collapse
Methods inherited from Backoff
Constructor Details
This class inherits a constructor from Rhod::Backoffs::Backoff
Instance Method Details
#iterate(state) ⇒ Object
2 3 4 |
# File 'lib/rhod/backoffs/constant.rb', line 2 def iterate(state) [state, state] end |