Sha256: 36ab07f5369410858576bc1acab464371739818dc9d0f186cc233d2b3682185e

Contents?: true

Size: 740 Bytes

Versions: 6

Compression:

Stored size: 740 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

6 entries across 6 versions & 1 rubygems

Version Path
inch-0.5.0.rc11 lib/inch/evaluation.rb
inch-0.5.0.rc10 lib/inch/evaluation.rb
inch-0.5.0.rc9 lib/inch/evaluation.rb
inch-0.5.0.rc8 lib/inch/evaluation.rb
inch-0.5.0.rc7 lib/inch/evaluation.rb
inch-0.5.0.rc6 lib/inch/evaluation.rb