Module: Kernel

Defined in:
lib/retry-handler.rb

Instance Method Summary collapse

Instance Method Details

#retry_handler(options = {}, &block) ⇒ Object



67
68
69
# File 'lib/retry-handler.rb', line 67

def retry_handler(options={}, &block)
  block.retry(options) if block_given?
end