Parent

Methods

Class/Module Index [+]

Quicksearch

ActionController::StringCoercion

Public Class Methods

new(app) click to toggle source
# File lib/action_controller/string_coercion.rb, line 20
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/action_controller/string_coercion.rb, line 24
def call(env)
  status, headers, body = @app.call(env)
  [status, headers, UglyBody.new(body)]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.