class RailtiesTest::EngineTest::Upcaser

Public Class Methods

new(app) click to toggle source
# File railties/test/railties/engine_test.rb, line 502
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File railties/test/railties/engine_test.rb, line 506
def call(env)
  response = @app.call(env)
  response[2] = response[2].collect(&:upcase)
  response
end