Class: Docbook::Services::ListOfGenerator::Entry
- Inherits:
-
Struct
- Object
- Struct
- Docbook::Services::ListOfGenerator::Entry
- Defined in:
- lib/docbook/services/list_of_generator.rb
Overview
Struct for a list entry with id, title, number, and section context
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#number ⇒ Object
Returns the value of attribute number.
-
#section_id ⇒ Object
Returns the value of attribute section_id.
-
#section_title ⇒ Object
Returns the value of attribute section_title.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
8 9 10 |
# File 'lib/docbook/services/list_of_generator.rb', line 8 def id @id end |
#number ⇒ Object
Returns the value of attribute number
8 9 10 |
# File 'lib/docbook/services/list_of_generator.rb', line 8 def number @number end |
#section_id ⇒ Object
Returns the value of attribute section_id
8 9 10 |
# File 'lib/docbook/services/list_of_generator.rb', line 8 def section_id @section_id end |
#section_title ⇒ Object
Returns the value of attribute section_title
8 9 10 |
# File 'lib/docbook/services/list_of_generator.rb', line 8 def section_title @section_title end |
#title ⇒ Object
Returns the value of attribute title
8 9 10 |
# File 'lib/docbook/services/list_of_generator.rb', line 8 def title @title end |