Sha256: 9aac4a9cfe2bc3f23f5f827addb528e9d9d6070b469d3b8f7cb165e7f6b10e01

Contents?: true

Size: 741 Bytes

Versions: 28

Compression:

Stored size: 741 Bytes

Contents

module Inch
  # The Evaluation module concerns itself with the evaluation of code objects
  # with regard to their inline code documentation
  module Evaluation
    def self.for(language, code_object)
      class_for(language, code_object).new(code_object)
    end

    private

    def self.class_for(_language, code_object)
      class_name = code_object.class.to_s.split('::').last
      language_namespace = Evaluation::Ruby
      language_namespace.const_get(class_name)
    end
  end
end

require 'inch/utils/read_write_methods'

require 'inch/evaluation/file'
require 'inch/evaluation/grade'
require 'inch/evaluation/grade_list'
require 'inch/evaluation/priority_range'

require 'inch/evaluation/proxy'
require 'inch/evaluation/role'

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
inch-0.9.0.rc1 lib/inch/evaluation.rb
inch-0.8.0 lib/inch/evaluation.rb
inch-0.8.0.rc2 lib/inch/evaluation.rb
inch-0.8.0.rc1 lib/inch/evaluation.rb
inch-0.7.1 lib/inch/evaluation.rb
inch-0.7.0 lib/inch/evaluation.rb
inch-0.6.4 lib/inch/evaluation.rb
inch-0.6.3 lib/inch/evaluation.rb
inch-0.6.2 lib/inch/evaluation.rb
inch-0.6.1 lib/inch/evaluation.rb
inch-0.6.0 lib/inch/evaluation.rb
inch-0.6.0.rc6 lib/inch/evaluation.rb
inch-0.6.0.rc5 lib/inch/evaluation.rb
inch-0.6.0.rc4 lib/inch/evaluation.rb
inch-0.6.0.rc3 lib/inch/evaluation.rb
inch-0.6.0.rc2 lib/inch/evaluation.rb
inch-0.6.0.rc1 lib/inch/evaluation.rb
inch-0.5.10 lib/inch/evaluation.rb
inch-0.5.9 lib/inch/evaluation.rb
inch-0.5.8 lib/inch/evaluation.rb