In Files

Parent

Files

Filter

———— END Analyzer logic ————————————

Attributes

error[RW]
limit[RW]
warn[RW]

Public Class Methods

new(limit = -1, error = 11, warn = 8) click to toggle source
# File lib/saikuro.rb, line 597
def initialize(limit = -1, error = 11, warn = 8)
  @limit = limit
  @error = error
  @warn = warn
end

Public Instance Methods

error?(count) click to toggle source
# File lib/saikuro.rb, line 611
def error?(count)
  count >= @error
end
ignore?(count) click to toggle source
# File lib/saikuro.rb, line 603
def ignore?(count)
  count < @limit
end
warn?(count) click to toggle source
# File lib/saikuro.rb, line 607
def warn?(count)
  count >= @warn
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.