Method: Retrospec::Puppet::Generators::TaskGenerator#task_filepath

Defined in:
lib/retrospec/plugins/v1/plugin/generators/task_generator.rb

#task_filepathObject



52
53
54
55
# File 'lib/retrospec/plugins/v1/plugin/generators/task_generator.rb', line 52

def task_filepath
  ext = EXT_TYPES.fetch(task_type, task_type)
  File.join(module_path, 'tasks', "#{item_name}.#{ext}")
end