    # File lib/yard/server/router.rb, line 149
          def route_list(library, paths)
            return if paths.empty?
            case paths.shift
            when "class";   cmd = ListClassesCommand
            when "methods"; cmd = ListMethodsCommand
            when "files";   cmd = ListFilesCommand
            else; return
            end
            cmd.new(final_options(library, paths)).call(request)
          end