lib/rdoc/generator/json_index.rb in rdoc-6.5.1.1 vs lib/rdoc/generator/json_index.rb in rdoc-6.6.0

- old
+ new

@@ -228,12 +228,12 @@ # Adds methods to the index def index_methods debug_msg " generating method search index" - list = @classes.uniq.map do |klass| + list = @classes.uniq.flat_map do |klass| klass.method_list - end.flatten.sort_by do |method| + end.sort_by do |method| [method.name, method.parent.full_name] end list.each do |method| debug_msg " #{method.full_name}"