Class: Docbook::Services::ListOfGenerator::Entry

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



8
9
10
# File 'lib/docbook/services/list_of_generator.rb', line 8

def id
  @id
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



8
9
10
# File 'lib/docbook/services/list_of_generator.rb', line 8

def number
  @number
end

#section_idObject

Returns the value of attribute section_id

Returns:

  • (Object)

    the current value of section_id



8
9
10
# File 'lib/docbook/services/list_of_generator.rb', line 8

def section_id
  @section_id
end

#section_titleObject

Returns the value of attribute section_title

Returns:

  • (Object)

    the current value of section_title



8
9
10
# File 'lib/docbook/services/list_of_generator.rb', line 8

def section_title
  @section_title
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



8
9
10
# File 'lib/docbook/services/list_of_generator.rb', line 8

def title
  @title
end