lib/inch/api/suggest.rb in inch-0.3.0.rc2 vs lib/inch/api/suggest.rb in inch-0.3.0.rc3
- old
+ new
@@ -71,10 +71,10 @@
Codebase::Objects.sort_by_priority(priority_list.empty? ? list : priority_list)
end
def all_filenames(objects)
codebase.objects.map do |o|
- o.files.map(&:first)
+ o.files.map(&:filename)
end.flatten
end
# Returns the unique grades assigned to objects
#