diff options
author | Alex Young <alex@bytemark.co.uk> | 2015-02-23 19:22:33 +0000 |
---|---|---|
committer | Alex Young <alex@bytemark.co.uk> | 2015-02-23 19:22:33 +0000 |
commit | 16ba9f08109ddb911e9aba8518a93d3df710a46b (patch) | |
tree | 0d7835a257ad5a4c47af47f6a2f7b67fe076f287 /lib/rack-flash.rb | |
parent | b212665b4e5ecaf9652ab7d3cfcd20597b3ef436 (diff) |
Get tests passing on ruby 1.9.3-p551
Diffstat (limited to 'lib/rack-flash.rb')
-rw-r--r-- | lib/rack-flash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack-flash.rb b/lib/rack-flash.rb index bc95b21..7a235d2 100644 --- a/lib/rack-flash.rb +++ b/lib/rack-flash.rb @@ -12,7 +12,7 @@ module Rack def middleware.rack_builder @rack_builder end - @ins << lambda { |app| + @ins << Proc.new { |app| middleware.new(app, *args, &block) } end |