Method: Inch::Codebase::Proxy#grade_lists

Defined in:
lib/inch/codebase/proxy.rb

#grade_listsObject



10
11
12
13
14
15
16
17
# File 'lib/inch/codebase/proxy.rb', line 10

def grade_lists
  lists = Evaluation.new_grade_lists
  lists.each do |range|
    list = objects.select { |o| range.scores.include?(o.score) }
    range.objects = Objects.sort_by_priority(list)
  end
  lists
end