Module Sinatra::RespondTo
In: lib/sinatra/respond_to.rb
lib/sinatra/respond_to/version.rb

Methods

registered   render  

Classes and Modules

Module Sinatra::RespondTo::Helpers
Class Sinatra::RespondTo::MissingTemplate
Class Sinatra::RespondTo::UnhandledFormat

Constants

Version = '0.7.0'

External Aliases

render -> render_without_format
  Changes in 1.0 Sinatra reuse render for layout so we store the original value to tell us if this is an automatic attempt to do a layout call. If it is, it might fail with Errno::ENOENT and we want to pass that back to sinatra since it isn‘t a MissingTemplate error

Public Class methods

Public Instance methods

[Validate]