class ActionMailerI18nWithControllerTest::RoutedRackApp

Attributes

routes[R]

Public Class Methods

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

Public Instance Methods

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