aboutsummaryrefslogtreecommitdiff
path: root/lib/rack-flash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack-flash.rb')
-rw-r--r--lib/rack-flash.rb2
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