Method: ExcelTemplating::DocumentDsl#template
- Defined in:
- lib/excel_templating/document_dsl.rb
#template(path) ⇒ Object
10 11 12 13 |
# File 'lib/excel_templating/document_dsl.rb', line 10 def template(path) raise ArgumentError, "Template path must be a string." unless path.is_a?(String) @template_path = path end |