Class: AmqpUtils::MessageFormatter::Pretty
- Defined in:
- lib/amqp_utils/message_formatter.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate(io, header, message) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/amqp_utils/message_formatter.rb', line 34 def generate(io, header, ) io.puts " Header: " header.properties.each do |key, value| io.puts " #{key.inspect} => #{value.inspect}" end io.puts " Message: #{.inspect}" end |