Class: Doing::Change

Inherits:
Object show all
Defined in:
lib/doing/changelog/change.rb

Overview

A single version's entries

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version, content, prefix: false, only: %i[changed new improved fixed])) ⇒ Change

Returns a new instance of Change.

Instance Attribute Details

#change_date ⇒ Object

Returns the value of attribute change_date.

#content ⇒ Object (readonly)

Returns the value of attribute content.

#entries ⇒ Object

Returns the value of attribute entries.

#prefix=(value) ⇒ Object (writeonly)

Sets the attribute prefix

Parameters:

  • value —

    the value to set the attribute prefix to.

#version ⇒ Object (readonly)

Returns the value of attribute version.

Instance Method Details

#changes_only ⇒ Object

#parse_entries ⇒ Object

#search_entries(search_string) ⇒ Object

#split_items ⇒ Object

#to_h ⇒ Object

#to_s ⇒ Object