Class: Pelusa::StdoutReporter
- Defined in:
- lib/pelusa/reporters/stdout_reporter.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Reporter
#initialize, #reports=, #successful?
Constructor Details
This class inherits a constructor from Pelusa::Reporter
Class Method Details
.print_banner ⇒ Object
5 6 7 8 |
# File 'lib/pelusa/reporters/stdout_reporter.rb', line 5 def self. puts " \e[0;35mϟ\e[0m \e[0;32mPelusa \e[0;35mϟ\e[0m" puts " \e[0;37m----------\e[0m" end |
Instance Method Details
#report ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/pelusa/reporters/stdout_reporter.rb', line 10 def report puts " \e[0;36m#{@filename}\e[0m" puts @reports.each do |class_report| print_report(class_report) end end |