class

Books::Book

Inherits Reference / Object

Book class representing a complete documentation book

Constructors

new(name : String, title : String, chapters : Array(Books::ChapterEntry), description : Nil | String = nil, config : BookConfig | Nil = nil)

Instance methods

chapters
chapters=(chapters : Array(ChapterEntry))
config
config=(config : BookConfig | Nil)
description
description=(description : String | Nil)
name
name=(name : String)
title
title=(title : String)
to_context

Convert to hash for template rendering