Class: Clamsy::TemplateOpenDoc
- Inherits:
-
Object
- Object
- Clamsy::TemplateOpenDoc
- Includes:
- FileSystemSupport
- Defined in:
- lib/clamsy/template_open_doc.rb
Instance Method Summary collapse
-
#initialize(template_doc) ⇒ TemplateOpenDoc
constructor
A new instance of TemplateOpenDoc.
- #render(context) ⇒ Object
Methods included from FileSystemSupport
#file_must_exist!, #tmp_file, #trash_tmp_files
Constructor Details
#initialize(template_doc) ⇒ TemplateOpenDoc
Returns a new instance of TemplateOpenDoc.
17 18 19 20 |
# File 'lib/clamsy/template_open_doc.rb', line 17 def initialize(template_doc) file_must_exist!(@template_doc = template_doc) initialize_template_workers end |