Method: Rack::ContentType#initialize
- Defined in:
- lib/rack/content_type.rb
#initialize(app, content_type = "text/html") ⇒ ContentType
Returns a new instance of ContentType.
12 13 14 |
# File 'lib/rack/content_type.rb', line 12 def initialize(app, content_type = "text/html") @app, @content_type = app, content_type end |