Module: OpenxmlDocxTemplater::Generator

Defined in:
lib/openxml_docx_templater/generator.rb

Instance Method Summary collapse

Instance Method Details

#render_msword(template_path, output_path = output_name(template_path)) ⇒ Object



3
4
5
6
# File 'lib/openxml_docx_templater/generator.rb', line 3

def render_msword template_path, output_path = output_name(template_path)
  template = Template.new template_path, output_path
  template.process binding
end