#empty? is more performant in general, however this not necessary since each will not iterate and empty array, so how about:

```ruby
errors.each { |error|  puts "\tERROR: " <<  error }
warnings.each { |warning|  puts "\tWARNING: " <<  warning }
```