module Sinatra::Namespace::InstanceMethods
Public Instance Methods
redirect_to(uri, *args)
click to toggle source
# File lib/sinatra/namespace.rb, line 216 def redirect_to(uri, *args) redirect("#{@namespace.pattern}#{uri}", *args) end
settings()
click to toggle source
# File lib/sinatra/namespace.rb, line 208 def settings @namespace end
template_cache()
click to toggle source
Calls superclass method
# File lib/sinatra/namespace.rb, line 212 def template_cache super.fetch(:nested, @namespace) { TemplateCache.new } end