class RoutedRackApp
Attributes
routes[R]
Public Class Methods
new(routes, &blk)
click to toggle source
# File actionpack/test/abstract_unit.rb, line 91 def initialize(routes, &blk) @routes = routes @stack = ActionDispatch::MiddlewareStack.new(&blk).build(@routes) end
Public Instance Methods
call(env)
click to toggle source
# File actionpack/test/abstract_unit.rb, line 96 def call(env) @stack.call(env) end