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



5
6
7
8
# File 'lib/openxml_docx_templater/generator.rb', line 5

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