Parent

Included Modules

Innate::Response

Public Class Methods

mime_type() click to toggle source
    # File lib/innate/response.rb, line 10
10:     def self.mime_type
11:       options[:headers]['Content-Type'] || 'text/html'
12:     end

Public Instance Methods

finish() click to toggle source
    # File lib/innate/response.rb, line 22
22:     def finish
23:       options.headers.each{|key, value| self[key] ||= value }
24:       Current.session.flush(self)
25:       super
26:     end
reset() click to toggle source
    # File lib/innate/response.rb, line 14
14:     def reset
15:       self.status = 200
16:       self.header.delete('Content-Type')
17:       body.clear
18:       self.length = 0
19:       self
20:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.