Method: LearnError#result_output
- Defined in:
- lib/learn-tool/learn-error.rb
#result_output ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/learn-tool/learn-error.rb', line 57 def result_output .each do |result| if result[:message].is_a?(Array) result[:message].each do || emit({message: , color: result[:color]}) end else emit(result) end end end |