Method: Retrospec::Puppet::Generators::FunctionGenerator#function_path

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

#function_pathObject

returns the path to the function using the function directory



108
109
110
111
# File 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb', line 108

def function_path
  path = File.join(function_dir, function_name.to_s)
  path + function_ext
end