Ruby latest stable (v2_5_5) - 0 notes - Class: Darkfish

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

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.