Class: Proc

Inherits:
Object
  • Object
show all
Defined in:
lib/retry-handler.rb

Instance Method Summary collapse

Instance Method Details

#retry(options = {}) ⇒ Object



50
51
52
53
54
# File 'lib/retry-handler.rb', line 50

def retry(options={})
  RetryHandler.retry_handler(options){
    self.call
  }
end