class NTYChangeLog::Change

Attributes

description[R]
issue[R]

Public Class Methods

new(description, issue) click to toggle source
# File lib/nty_change_log/change.rb, line 5
def initialize(description, issue)
  @description = description
  @issue = issue
end

Public Instance Methods

to_s() click to toggle source
# File lib/nty_change_log/change.rb, line 10
def to_s
  if issue == nil
    "* #{description}"
  else
    "* #{description} #{issue}"
  end
end