Class: Pronto::Formatter::TextFormatter
- Inherits:
-
Object
- Object
- Pronto::Formatter::TextFormatter
- Defined in:
- lib/pronto/formatter/text_formatter.rb
Instance Method Summary collapse
Instance Method Details
#format(messages) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/pronto/formatter/text_formatter.rb', line 4 def format() .map do || level = .level[0].upcase line = .line "#{.path}:#{line.new_lineno} #{level}: #{.msg}" end end |