Class: Edoxen::Minutes

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/edoxen/minutes.rb,
sig/edoxen.rbs

Overview

The narrative record of a Meeting — what was said, by whom, in what order, with what outcome. Mirrors edoxen-model/models/minutes.lutaml (P2.8 from TODO.meeting-agenda/10-future-enhancements.md).

Distinct from Agenda (the business order drafted before the meeting) and from DecisionCollection (the formal decisions adopted). The Minutes are the running record.

Sections are typically keyed by agenda-item number so consumers can join Minutes ↔ AgendaItem ↔ Decision by number/label.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identifierArray[StructuredIdentifier]? (readonly)

Returns the value of attribute identifier.

Returns:



469
470
471
# File 'sig/edoxen.rbs', line 469

def identifier
  @identifier
end

#language_codeString? (readonly)

Returns the value of attribute language_code.

Returns:

  • (String, nil)


471
472
473
# File 'sig/edoxen.rbs', line 471

def language_code
  @language_code
end

#scriptString? (readonly)

Returns the value of attribute script.

Returns:

  • (String, nil)


472
473
474
# File 'sig/edoxen.rbs', line 472

def script
  @script
end

#sectionsArray[MinutesSection]? (readonly)

Returns the value of attribute sections.

Returns:



475
476
477
# File 'sig/edoxen.rbs', line 475

def sections
  @sections
end

#source_docString? (readonly)

Returns the value of attribute source_doc.

Returns:

  • (String, nil)


473
474
475
# File 'sig/edoxen.rbs', line 473

def source_doc
  @source_doc
end

#source_pagesString? (readonly)

Returns the value of attribute source_pages.

Returns:

  • (String, nil)


474
475
476
# File 'sig/edoxen.rbs', line 474

def source_pages
  @source_pages
end

#urnString? (readonly)

Returns the value of attribute urn.

Returns:

  • (String, nil)


470
471
472
# File 'sig/edoxen.rbs', line 470

def urn
  @urn
end

Instance Method Details

#find_section(number) ⇒ MinutesSection?

Parameters:

  • number (String, Integer)

Returns:



24
25
26
27
28
29
# File 'lib/edoxen/minutes.rb', line 24

def find_section(number)
  return nil if number.nil?

  target = number.to_s
  sections&.find { |s| s.number.to_s == target }
end