method

render_template

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: Darkfish
render_template(template_file, out_file = nil) public

Load and render the erb template in the given template_file and write it out to out_file.

Both template_file and out_file should be Pathname-like objects.

An io will be yielded which must be captured by binding in the caller.

Show source
Register or log in to add new notes.