Class: Gitlab::Release::Changelog::Issue

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

Overview

This class represents a single Issue.

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



45
46
47
# File 'lib/gitlab/release/changelog/entry.rb', line 45

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