Method: Retrospec::Puppet::Generators::FunctionGenerator#function_dir

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

#function_dirObject

returns the function directory to create the the function in



82
83
84
85
86
87
88
89
90
91
# File 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb', line 82

def function_dir
  case function_type
  when 'v3'
    v3_function_dir
  when 'v4'
    v4_function_dir
  when 'native'
    native_function_dir
  end
end