class

Jasper::Config

Inherits JSON::Serializable < YAML::Serializable < Reference < Object

Constructors

find(root : Path | String = ".") : Config
Source
load(path : Path | String) : Config
Source
new(namespace : String = "Docs", source_dir : String = "docs_src", output_dir : String = "src/docs", master_file : String = "src/docs.cr", features : Features = Features.new)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

load?(path : Path | String) : Config | Nil
Source

Instance methods

add_alias(alias_name : String) : self
Source
features
Source
features=(features : Features)
Source
master_file
Source
master_file=(master_file : String)
Source
namespace
Source
namespace=(namespace : String)
Source
output_dir
Source
output_dir=(output_dir : String)
Source
save(path : Path | String) : Nil
Source
set_quick_start(title : String, commands : Array(String)) : self
Source
source_dir
Source
source_dir=(source_dir : String)
Source

Nested types