Method: Sinatra::Response#initialize
- Defined in:
- lib/vendor/sinatra-1.4.4/lib/sinatra/base.rb
#initialize ⇒ Response
Returns a new instance of Response.
122 123 124 125 |
# File 'lib/vendor/sinatra-1.4.4/lib/sinatra/base.rb', line 122 def initialize(*) super headers['Content-Type'] ||= 'text/html' end |