Add method_missing to Raindrops::Middleware::Proxy
commitabc6dd47ede5b96ada1ff8f37dfba73cd5fd586a
authorBen Somers <somers.ben@gmail.com>
Fri, 18 May 2012 01:46:58 +0000 (17 18:46 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 18 May 2012 04:17:37 +0000 (18 04:17 +0000)
tree968e0d27a9c6c47e07f4d341b7f1b963866432f1
parent127ec6d6c733a717df79084861b0d7f36c327154
Add method_missing to Raindrops::Middleware::Proxy

This enables it to behave more like a Rack
BodyProxy would, delegating methods to its body
object when it does not implement them itself.
(Also includes  a minor grammar fix to a comment.)

[ew: minor comment/whitespace fix]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
lib/raindrops/middleware/proxy.rb
test/test_middleware.rb