module Guff class Model getter :config getter :db def initialize(@config : Config) # create site database db_path = "%s/site.db" % [config["data"]] @db = Database.new(db_path) end end end