Module: Inch::Evaluation

Defined in:
lib/inch/evaluation.rb,
lib/inch/evaluation/file.rb,
lib/inch/evaluation/grade.rb,
lib/inch/evaluation/proxy.rb,
lib/inch/evaluation/role/base.rb,
lib/inch/evaluation/grade_list.rb,
lib/inch/evaluation/proxy/base.rb,
lib/inch/evaluation/role/method.rb,
lib/inch/evaluation/role/object.rb,
lib/inch/evaluation/role/missing.rb,
lib/inch/evaluation/object_schema.rb,
lib/inch/evaluation/role/constant.rb,
lib/inch/evaluation/priority_range.rb,
lib/inch/evaluation/role/namespace.rb,
lib/inch/evaluation/proxy/class_object.rb,
lib/inch/evaluation/proxy/method_object.rb,
lib/inch/evaluation/proxy/module_object.rb,
lib/inch/evaluation/proxy/constant_object.rb,
lib/inch/evaluation/role/method_parameter.rb,
lib/inch/evaluation/proxy/namespace_object.rb

Overview

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

Defined Under Namespace

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

Class Method Summary collapse

Class Method Details

.for(code_object) ⇒ Object



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

def self.for(code_object)
  class_for(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