Methods

Innate::View::ERB

Public Class Methods

call(action, string) click to toggle source
    # File lib/innate/view/erb.rb, line 6
 6:       def self.call(action, string)
 7:         erb = View.compile(string){|str| ::ERB.new(str, nil, '%<>') }
 8:         erb.filename = (action.view || action.method).to_s
 9:         html = erb.result(action.binding)
10:         return html, Response.mime_type
11:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.