Module: Whoop::Formatters::PrettyFormatter

Defined in:
lib/whoop/formatters/pretty_formatter.rb

Class Method Summary collapse

Class Method Details

.format(message) ⇒ String

Format the message using AwesomePrint

Parameters:

  • message (String)

    The object/class/message

Returns:

  • (String)

    The formatted message



11
12
13
# File 'lib/whoop/formatters/pretty_formatter.rb', line 11

def self.format(message)
  message.ai
end