Class: Factorix::Changelog::Section

Inherits:
Data
  • Object
show all
Defined in:
lib/factorix/changelog.rb,
sig/factorix/changelog.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#categories ⇒ Object (readonly)

Returns the value of attribute categories

Returns:

  • (Object) —

    the current value of categories



16
17
18
# File 'lib/factorix/changelog.rb', line 16

def categories
  @categories
end

#date ⇒ Object (readonly)

Returns the value of attribute date

Returns:

  • (Object) —

    the current value of date



16
17
18
# File 'lib/factorix/changelog.rb', line 16

def date
  @date
end

#version ⇒ Object (readonly)

Returns the value of attribute version

Returns:

  • (Object) —

    the current value of version



16
17
18
# File 'lib/factorix/changelog.rb', line 16

def version
  @version
end

Class Method Details

.[] ⇒ Section

Parameters:

  • version: (MODVersion, String)
  • date: (String, nil)
  • categories: (Hash[String, Array[String]])

Returns:



12
# File 'sig/factorix/changelog.rbs', line 12

def self.[]: (version: MODVersion | String, date: String?, categories: Hash[String, Array[String]]) -> Section