Module: Sinatra::Namespace::InstanceMethods

Defined in:
lib/sinatra/namespace.rb

Instance Method Summary collapse

Instance Method Details

#settingsObject


133
134
135
# File 'lib/sinatra/namespace.rb', line 133

def settings
  @namespace
end

#template_cacheObject


137
138
139
# File 'lib/sinatra/namespace.rb', line 137

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