Change initialize method to accept kwargs
This commit is contained in:
parent
b979ca6c88
commit
2760659599
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue