Análise visual de preços entre corretoras
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
469 B

class Config
property params = {} of Symbol => (String | Int32 | Float64 | Bool)
def initialize
# @params[:requests] = 0
@params[:eur_brl] = false
@params[:web] = false
@params[:cache] = false
@params[:log] = false
# @params[:simulate] = false
# @params[:retry] = false
@params[:start_time] = now
end
def self.params
self.instance.params
end
# singleton class
def self.instance
@@instance ||= new
end
end