Class: HeedKit::ChangelogEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/heedkit/changelog.rb

Overview

A single published changelog entry (release note). body is markdown; published_at is a Time (or nil).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def body
  @body
end

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def category
  @category
end

#category_labelObject

Returns the value of attribute category_label

Returns:

  • (Object)

    the current value of category_label



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def category_label
  @category_label
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def id
  @id
end

#published_atObject

Returns the value of attribute published_at

Returns:

  • (Object)

    the current value of published_at



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def published_at
  @published_at
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



8
9
10
# File 'lib/heedkit/changelog.rb', line 8

def title
  @title
end

Instance Method Details

#dateObject



11
# File 'lib/heedkit/changelog.rb', line 11

def date = published_at