Sha256: 7011b68627266c013f1c951bc1076274bff94dabf4c09d80fb836ffd8409b880
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
module Pluginscan # Responsible for scanning one line of a file for issues of a certain type class LineIssuesScanner def initialize(check) @check = check end def scan(line, lineno) @check.run(line).map do |match| ignored = @check.ignore?(match, line) Finding.new(lineno, line, match, ignored) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pluginscan-0.9.0 | lib/pluginscan/reports/issues_report/issues_scanner/line_issues_scanner.rb |