Class: Pronto::Formatter::TextFormatter
- Defined in:
- lib/pronto/formatter/text_formatter.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.name ⇒ Object
6 7 8 |
# File 'lib/pronto/formatter/text_formatter.rb', line 6 def self.name 'text' end |
Instance Method Details
#format(messages, _repo, _patches) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/pronto/formatter/text_formatter.rb', line 10 def format(, _repo, _patches) .map do || = config.(self.class.name) = TextMessageDecorator.new().to_h ( % ).strip end end |