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 mapper models = Models.new(config) # create and run server Server.run(models) end end