Class: Pocketbook::BookRenderer::Chapter::TocHeading

Inherits:
Struct
  • Object
show all
Defined in:
lib/pocketbook/book_renderer/chapter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/pocketbook/book_renderer/chapter.rb', line 7

def id
  @id
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



7
8
9
# File 'lib/pocketbook/book_renderer/chapter.rb', line 7

def level
  @level
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



7
8
9
# File 'lib/pocketbook/book_renderer/chapter.rb', line 7

def title
  @title
end