Method: Transpec::CommitMessage#to_s
- Defined in:
- lib/transpec/commit_message.rb
#to_s ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/transpec/commit_message.rb', line 13 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} END end |