Class: Puppet::Pops::Loader::LoaderPaths::FunctionPath3x

Inherits:
RubySmartPath show all
Defined in:
lib/puppet/pops/loader/loader_paths.rb

Constant Summary collapse

SYSTEM_FUNCTION_PATH_3X =
File.join('puppet', 'parser', 'functions').freeze
FUNCTION_PATH_3X =
File.join('lib', SYSTEM_FUNCTION_PATH_3X).freeze

Constants inherited from RubySmartPath

RubySmartPath::EXTENSION

Instance Method Summary collapse

Methods inherited from RubySmartPath

#effective_path, #extension

Methods inherited from SmartPath

#effective_path, #fuzzy_matching?, #generic_path, #initialize, #lib_root?, #root_path, #typed_name, #valid_name?, #valid_path?

Constructor Details

This class inherits a constructor from Puppet::Pops::Loader::LoaderPaths::SmartPath

Instance Method Details

#instantiatorObject



191
192
193
# File 'lib/puppet/pops/loader/loader_paths.rb', line 191

def instantiator
  RubyLegacyFunctionInstantiator
end

#relative_pathObject



187
188
189
# File 'lib/puppet/pops/loader/loader_paths.rb', line 187

def relative_path
  lib_root? ? SYSTEM_FUNCTION_PATH_3X : FUNCTION_PATH_3X
end