Sha256: 2bb9482aab3bd5f6dd270d9a21fbd6c2589d8f047f83a71d040418ffc453bc85

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

# encoding: utf-8
module CodeAnalyzer::CheckingVisitor
  class Plain
    def initialize(options={})
      @checkers = options[:checkers]
    end

    def check(filename, content)
      @checkers.each do |checker|
        checker.check(filename, content)
      end
    end

    def after_check
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_analyzer-0.1.1 lib/code_analyzer/checking_visitor/plain.rb
code_analyzer-0.1.0 lib/code_analyzer/checking_visitor/plain.rb