Method: GitLab::Issue#msg_changelog
- Defined in:
- lib/GitLab/issue.rb
#msg_changelog ⇒ Object
122 123 124 125 |
# File 'lib/GitLab/issue.rb', line 122 def msg_changelog # a.description.match(/(\* \~changelog .*\n)+/).to_a description.match(/\* \~changelog .*\n?/).to_s.gsub('* ~changelog ', '') rescue nil end |