class Rantly::TooManyTries
Public Class Methods
new(limit,nfailed)
click to toggle source
# File lib/rantly/generator.rb, line 35 def initialize(limit,nfailed) @limit = limit @nfailed = nfailed end
Public Instance Methods
to_s()
click to toggle source
# File lib/rantly/generator.rb, line 44 def to_s "Exceed gen limit #{@limit}: #{@nfailed} failed guards)" end
tries()
click to toggle source
# File lib/rantly/generator.rb, line 40 def tries @nfailed end