module Roda::RodaPlugins::ResponseRequest::InstanceMethods

  1. lib/roda/plugins/response_request.rb

Methods

Public Class

  1. new

Public Class methods

new(env)

Set the response’s request to the current request.

[show source]
   # File lib/roda/plugins/response_request.rb
15 def initialize(env)
16   super
17   @_response.request = @_request
18 end