module Clausewitz; module Spelling class Formatter def render(overall_results) render_overall_results(overall_results) end private def render_overall_results(overall_results) overall_results.files.each do |file_results| render_file_results(file_results) end end def render_file_results(file_results) file_results.langs.each do |lang_results| render_lang_results(lang_results) end end def render_lang_results(lang_results) lang_results.keys.each do |key_results| render_key_results(key_results) end end def render_key_results(key_results) key_results.spellchecks.each do |spellcheck_result| render_spellcheck_result(spellcheck_result) end end def render_spellcheck_result(spellcheck_result) end end end; end # Clausewitz::Spelling