Class: Hash

Inherits:
Object show all
Defined in:
lib/cute_logger.rb

Overview

Specify that the hash must traverse all the children to format the log

Instance Method Summary collapse

Instance Method Details

#to_log_formatObject



125
126
127
# File 'lib/cute_logger.rb', line 125

def to_log_format
  Hash[map { |key, value| [key.to_log_format, value.to_log_format] }]
end