1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require "./config" require "./model" require "./server" module Guff def self.run(app, args) # parse env and cli options config = Config.new(app, args) # create model model = Model.new(config) # create and run server Server.run(model) end end