class Config

Defined in:

lib/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

Class Method Detail

def self.load(config : String = File.read("config.yml")) #

[View source]

Instance Method Detail

def period : Time::Span #

def period=(_period : Time::Span) #

def to_yaml(__temp_74 : YAML::Nodes::Builder) #

def urls : Array(String) #

def urls=(_urls : Array(String)) #

def workers : Int32 #

def workers=(_workers : Int32) #