Module: Inch::Evaluation

Defined in:
lib/inch/evaluation.rb,
lib/inch/evaluation/role.rb,
lib/inch/evaluation/file.rb,
lib/inch/evaluation/proxy.rb,
lib/inch/evaluation/grade.rb,
lib/inch/evaluation/grade_list.rb,
lib/inch/evaluation/priority_range.rb

Overview

The Evaluation module concerns itself with the evaluation of code objects with regard to their inline code documentation

Defined Under Namespace

Classes: File, Grade, GradeList, PriorityRange, Proxy, Role

Class Method Summary collapse

Class Method Details

.for(language, code_object) ⇒ Object


5
6
7
# File 'lib/inch/evaluation.rb', line 5

def self.for(language, code_object)
  class_for(language, code_object).new(code_object)
end

.new_grade_listsArray<GradeList>

Returns newly instanciated grade range objects

Returns:


28
29
30
# File 'lib/inch/evaluation/grade_list.rb', line 28

def self.new_grade_lists
  Evaluation::Grade.all.map { |g| GradeList.new(g) }
end