Class: Enumerator

Inherits:
Object
  • Object
show all
Defined in:
lib/retry_upto.rb

Instance Method Summary collapse

Instance Method Details

#retry(opts = {}, &blk) ⇒ Object



16
17
18
# File 'lib/retry_upto.rb', line 16

def retry(opts = {}, &blk)
  retry_upto(self.count, opts, &blk)
end