class RoutedRackApp

Attributes

routes[R]

Public Class Methods

new(routes, &blk) click to toggle source
# File test/abstract_unit.rb, line 75
def initialize(routes, &blk)
  @routes = routes
  @stack = ActionDispatch::MiddlewareStack.new(&blk).build(@routes)
end

Public Instance Methods

call(env) click to toggle source
# File test/abstract_unit.rb, line 80
def call(env)
  @stack.call(env)
end