Change initialize method to accept kwargs

This commit is contained in:
Cadu Ribeiro 2020-12-30 11:34:56 -03:00
parent b979ca6c88
commit 2760659599
No known key found for this signature in database
GPG Key ID: B4AA080E1479FA6B
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ module Sinatra
attr_accessor :app, :env, :request, :response, :params
attr_reader :template_cache
def initialize(app = nil)
def initialize(app = nil, **kwargs)
super()
@app = app
@template_cache = Tilt::Cache.new