Class: Gitlab::Release::Changelog::MergeRequest

Inherits:
Entry
  • Object
show all
Defined in:
lib/gitlab/release/changelog/entry.rb

Overview

This class represents a single Merge Request.

Instance Attribute Summary

Attributes inherited from Entry

#id, #title

Instance Method Summary collapse

Methods inherited from Entry

#initialize, #to_s

Constructor Details

This class inherits a constructor from Gitlab::Release::Changelog::Entry

Instance Method Details

#to_s_for_changelog(with_reference) ⇒ Object



36
37
38
# File 'lib/gitlab/release/changelog/entry.rb', line 36

def to_s_for_changelog(with_reference)
  with_reference ? "- #{title} !#{id}" : super
end