diff options
Diffstat (limited to 'lib/rack/server.rb')
-rw-r--r-- | lib/rack/server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/server.rb b/lib/rack/server.rb index 6137f043..491a81f2 100644 --- a/lib/rack/server.rb +++ b/lib/rack/server.rb @@ -285,7 +285,7 @@ module Rack self.class.middleware end - def start &blk + def start(&block) if options[:warn] $-w = true end @@ -326,7 +326,7 @@ module Rack end end - server.run wrapped_app, options, &blk + server.run(wrapped_app, **options, &block) end def server |