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)
Source

Instance methods

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

Convert to hash for template rendering

Source