Class ActionController::StringCoercion
In: vendor/rails/actionpack/lib/action_controller/string_coercion.rb
Parent: Object

Methods

call   new  

Classes and Modules

Class ActionController::StringCoercion::UglyBody

Public Class methods

[Source]

    # File vendor/rails/actionpack/lib/action_controller/string_coercion.rb, line 20
20:     def initialize(app)
21:       @app = app
22:     end

Public Instance methods

[Source]

    # File vendor/rails/actionpack/lib/action_controller/string_coercion.rb, line 24
24:     def call(env)
25:       status, headers, body = @app.call(env)
26:       [status, headers, UglyBody.new(body)]
27:     end

[Validate]