Module: OpenxmlDocxTemplater::Debug
- Included in:
- DocxEruby
- Defined in:
- lib/openxml_docx_templater/debug.rb
Instance Method Summary collapse
Instance Method Details
#debug? ⇒ Boolean
5 6 7 |
# File 'lib/openxml_docx_templater/debug.rb', line 5 def debug? false end |
#debug_dir ⇒ Object
17 18 19 |
# File 'lib/openxml_docx_templater/debug.rb', line 17 def debug_dir File.join(File.dirname(__FILE__), '..', '..', 'debug') end |
#debug_file_name ⇒ Object
13 14 15 |
# File 'lib/openxml_docx_templater/debug.rb', line 13 def debug_file_name "serenity_debug_#{rand(100)}.rb" end |
#debug_file_path ⇒ Object
9 10 11 |
# File 'lib/openxml_docx_templater/debug.rb', line 9 def debug_file_path File.join(debug_dir, debug_file_name) end |