class Crimson::Config

Defined in:

config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.load : self #

[View source]
def self.new(current : Nil | String, default : Nil | String, aliases = nil) #

[View source]

Instance Method Detail

def aliases : Hash(String, String) #

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

[View source]
def current : String | Nil #

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

[View source]
def default : String | Nil #

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

[View source]
def save : Nil #

[View source]