class Werk::Config

Included Modules

Defined in:

werk/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Class Method Detail

def self.load_file(path : String) #

Load configuration from file


[View source]
def self.load_string(content : String) #

[View source]

Instance Method Detail

def description : String #

[View source]
def dotenv : Set(String) #

[View source]
def jobs : Hash(String, Werk::Config::Job) #

[View source]
def max_jobs : UInt32 #

[View source]
def max_jobs=(max_jobs : UInt32) #

[View source]
def variables : Hash(String, String) #

[View source]
def variables=(variables : Hash(String, String)) #

[View source]
def version : String #

[View source]