class Jasmine::Application
Public Class Methods
app(config, builder = Rack::Builder.new)
click to toggle source
# File lib/jasmine/application.rb, line 11 def self.app(config, builder = Rack::Builder.new) config.rack_apps.each do |(app, config_block)| builder.use(app, &config_block) end config.rack_path_map.each do |path, handler| builder.map(path) { run handler.call } end builder end