Class: Method
- Inherits:
-
Object
- Object
- Method
- Defined in:
- lib/retry-handler.rb
Instance Method Summary collapse
Instance Method Details
#retry(*args) ⇒ Object
58 59 60 61 62 63 |
# File 'lib/retry-handler.rb', line 58 def retry(*args) = args.last.is_a?(::Hash) ? args.pop : {} RetryHandler.retry_handler() do self.call(*args) end end |