Module: Sinatra::Namespace::InstanceMethods

Defined in:
lib/sinatra/namespace.rb

Instance Method Summary collapse

Instance Method Details

#settingsObject



131
132
133
# File 'lib/sinatra/namespace.rb', line 131

def settings
  @namespace
end

#template_cacheObject



135
136
137
# File 'lib/sinatra/namespace.rb', line 135

def template_cache
  super.fetch(:nested, @namespace) { Tilt::Cache.new }
end