# File lib/jasmine/application.rb, line 11 def self.app(config, builder = Rack::Builder.new) config.rack_apps.each do |app_config| builder.use(app_config[:app], *app_config[:args], &app_config[:block]) end config.rack_path_map.each do |path, handler| builder.map(path) { run handler.call } end builder end