class Rantly::TooManyTries

Attributes

limit[R]

Public Class Methods

new(limit, nfailed) click to toggle source
# File lib/rantly/generator.rb, line 34
def initialize(limit, nfailed)
  @limit = limit
  @nfailed = nfailed
end

Public Instance Methods

tries() click to toggle source
# File lib/rantly/generator.rb, line 39
def tries
  @nfailed
end