Module: Indoctrinatr::Tools::TemplateDocumentationHelpers

Defined in:
lib/indoctrinatr/tools/template_documentation_helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#documentation_compile_dir_path_nameObject

Returns the value of attribute documentation_compile_dir_path_name.



6
7
8
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 6

def documentation_compile_dir_path_name
  @documentation_compile_dir_path_name
end

Instance Method Details

#content_tex_file_destination_pathObject



44
45
46
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 44

def content_tex_file_destination_path
  documentation_compile_dir_path_name.join 'indoctrinatr-technical-documentation-content.tex'
end

#content_tex_file_pathObject



12
13
14
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 12

def content_tex_file_path
  documentation_files_path.join 'indoctrinatr-technical-documentation-content.tex.erb'
end

#documentation_file_pathObject



52
53
54
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 52

def documentation_file_path
  documentation_compile_dir_path_name.join 'indoctrinatr-technical-documentation.pdf'
end

#documentation_temp_dirObject

Accessor method to the attribute for classes that include this module



61
62
63
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 61

def documentation_temp_dir
  documentation_compile_dir_path_name
end

#image_tools_package_destination_pathObject



36
37
38
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 36

def image_tools_package_destination_path
  documentation_compile_dir_path_name.join 'dkd-image-tools.sty'
end

#latex_log_fileObject



56
57
58
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 56

def latex_log_file
  documentation_compile_dir_path_name.join 'indoctrinatr-technical-documentation.log'
end

#latex_package_destination_pathObject



32
33
34
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 32

def latex_package_destination_path
  documentation_compile_dir_path_name.join 'indoctrinatr-technical-documentation.sty'
end

#letterpaper_file_destination_pathObject



40
41
42
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 40

def letterpaper_file_destination_path
  documentation_compile_dir_path_name.join 'indoctrinatr_letterpaper.pdf'
end

#main_tex_file_destination_pathObject



48
49
50
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 48

def main_tex_file_destination_path
  documentation_compile_dir_path_name.join 'indoctrinatr-technical-documentation.tex'
end

#make_documentation_compile_dir_path_nameObject



8
9
10
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 8

def make_documentation_compile_dir_path_name
  @documentation_compile_dir_path_name = Pathname.new Dir.mktmpdir 'indoctrinatr_tools_tmp'
end

#source_image_tools_package_file_pathObject



20
21
22
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 20

def source_image_tools_package_file_path
  documentation_files_path.join 'dkd-image-tools.sty'
end

#source_latex_package_file_pathObject



16
17
18
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 16

def source_latex_package_file_path
  documentation_files_path.join 'indoctrinatr-technical-documentation.sty'
end

#source_letterpaper_file_pathObject



24
25
26
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 24

def source_letterpaper_file_path
  documentation_files_path.join 'indoctrinatr_letterpaper.pdf'
end

#source_main_tex_file_pathObject



28
29
30
# File 'lib/indoctrinatr/tools/template_documentation_helpers.rb', line 28

def source_main_tex_file_path
  documentation_files_path.join 'indoctrinatr-technical-documentation.tex.erb'
end