class Books::Book

Overview

Book class representing a complete documentation book

Defined in:

books.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def chapters : Array(ChapterEntry) #

[View source]
def chapters=(chapters : Array(ChapterEntry)) #

[View source]
def config : BookConfig | Nil #

[View source]
def config=(config : BookConfig | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def to_context : Hash(String, String | Nil) #

Convert to hash for template rendering


[View source]