Method: Syro::Response#html
- Defined in:
- lib/syro.rb
#html(str) ⇒ Object
Write response body as text/html
118 119 120 121 |
# File 'lib/syro.rb', line 118 def html(str) @headers[Rack::CONTENT_TYPE] = ContentType::HTML write(str) end |