Permalink
Browse files

Allow arbitrary number of arguments for Request::new

  • Loading branch information...
1 parent 91a10e2 commit 4cc1d6e773f64c20849b1d8088717a084b06830a @manveru manveru committed Mar 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/request.rb
View
@@ -17,7 +17,7 @@ class Request
# The environment of the request.
attr_reader :env
- def self.new(env)
+ def self.new(env, *args)
if self == Rack::Request
env["rack.request"] ||= super
else

0 comments on commit 4cc1d6e

Please sign in to comment.