Method: ConvertTheme#template_temp_path

Defined in:
lib/convert_theme.rb

#template_temp_pathObject

This generator’s templates folder is temporary and is accessed via source_root within the generator.



70
71
72
73
74
75
# File 'lib/convert_theme.rb', line 70

def template_temp_path
  @template_temp_path ||= begin
    tmp_dir = ENV['TMPDIR'] || '/tmp'
    template_path = File.join(tmp_dir, "convert_theme", "templates")
  end
end