class Linquebot::App::Config

Included Modules

Defined in:

lib/config.cr

Constant Summary

CONFIG_FILE_PATH = "./config.yaml"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(token : String = "") #

[View source]

Class Method Detail

def self.create_from_stdin #

[View source]
def self.read_from_file #

[View source]

Instance Method Detail

def bot_token : String #

[View source]
def pretty_print #

[View source]
def save! #

[View source]