Method: WavefrontDisplay::Message#do_read

Defined in:
lib/wavefront-cli/display/message.rb

#do_readObject



14
15
16
17
18
# File 'lib/wavefront-cli/display/message.rb', line 14

def do_read
  abort 'Message not found.' unless data && !data.empty?

  puts message_title, data.content.fold(TW, 0), message_sender
end