method

render_template

render_template( template_file, context, outfile )
protected

Load and render the erb template in the given template_file within the specified context (a Binding object) and write it out to outfile. Both template_file and outfile should be Pathname-like objects.