You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: message_helpers.rb
    path of file: ./repos/shoulda-matchers/spec/support/unit/helpers
    
    the code of the file until where you have to start completion: module UnitTests
  module MessageHelpers
    include Shoulda::Matchers::WordWrap

    def self.configure_example_group(ex
    
    def format_message(message, one_line: false)
      stripped_message = message.strip_heredoc.strip

      if one_line
        stripped_message.tr("\n", ' ').squeeze(' ')
      else
        word_wrap(stripped_message)
      end