class PrChangelog::Tag
A way to classify particular change lines
Attributes
emoji[R]
sort_index[R]
title[R]
Public Class Methods
new(emoji, title, sort_index)
click to toggle source
# File lib/pr_changelog/tag.rb, line 8 def initialize(emoji, title, sort_index) @emoji = emoji @title = title @sort_index = sort_index end
Public Instance Methods
formatted_title()
click to toggle source
# File lib/pr_changelog/tag.rb, line 14 def formatted_title "[#{title}]" end