Class: Runner
Class Method Summary collapse
Class Method Details
.report ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/runner.rb', line 22 def self.report puts puts "Total of lines analyzed: ".color(:yellow) + "#{@total_line}".color(:red) puts "Unconformities found: ".color(:yellow) + "#{@parser.reports.size}".color(:red) puts @parser.reports.each do |error| puts error end end |