class Config

Included Modules

Defined in:

models/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(filename : String, project : String, environment : String) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(filename : String) #

[View source]

Instance Method Detail

def add_flag(key : String, name : String, enabled : Bool) #

[View source]
def clear_flags #

[View source]
def environment : String #

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

[View source]
def filename : String #

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

[View source]
def flags : Array(Flag) #

[View source]
def flags=(flags : Array(Flag)) #

[View source]
def project : String #

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

[View source]
def save #

[View source]
def token : String #

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

[View source]