Method: HTMLProofer::Runner#process_files
- Defined in:
- lib/html_proofer/runner.rb
#process_files ⇒ Object
Walks over each implemented check and runs them on the files, in parallel.
103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/html_proofer/runner.rb', line 103 def process_files loaded_files = [] files.each do |file| Async do |task| task.async do loaded_files << load_file(file[:path], file[:source]) end end end loaded_files end |