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: commit_message.rb
    path of file: ./repos/transpec/lib/transpec
    
    the code of the file until where you have to start completion: # coding: utf-8

require 'transpec/version'

module Transpec
  class CommitMessage
    def initialize(report, rspec_version, cli_args = [])
      @report = report
      @rspec_version = rspec_version
      @cli_args = cli_args
    end

    def to_s
      conversion_summary = @report.summary(bullet: '*', separate_by_blank_line: true)

      <<-END.gsub(/^\s+\|/,
    
    def to_s
      conversion_summary = @report.summary(bullet: '*', separate_by_blank_line: true)

      <<-END.gsub(/^\s+\|/, '').chomp
        |Convert specs to RSpec #{@rspec_version} syntax with Transpec
        |
        |This conversion is done by Transpec #{Transpec::Version} with the following command:
        |    transpec #{smart_cli_args}
        |
        |#{conversion_summary}
        |
        |For more details: https://github.com/yujinakayama/transpec#supported-conversions
      END
    end

    def smart_cli_args
      @cli_args.map do |arg|
        if arg.include?(' ')
          arg.inspect
        else
          arg
        end
      end.join(' ')
    end
  end