Sha256: 610e5b3b8e8fffab2b49a518074b6c9f2add041f35186c53d6b4ebbc4aa05217

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

# encoding: utf-8
module CodeAnalyzer::CheckingVisitor
  # This is the checking visitor to check ruby plain code.
  class Plain < Base
    # check the ruby plain code.
    #
    # @param [String] filename is the filename of ruby code.
    # @param [String] content is the content of ruby file.
    def check(filename, content)
      @checkers.each do |checker|
        checker.check(filename, content)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
code_analyzer-0.3.1 lib/code_analyzer/checking_visitor/plain.rb
code_analyzer-0.3.0 lib/code_analyzer/checking_visitor/plain.rb
code_analyzer-0.2.0 lib/code_analyzer/checking_visitor/plain.rb