Class: Puppet::Pops::Lookup::V4DataHashFunctionProvider Private
- Inherits:
-
DataHashFunctionProvider
- Object
- FunctionProvider
- DataHashFunctionProvider
- Puppet::Pops::Lookup::V4DataHashFunctionProvider
- Defined in:
- lib/puppet/pops/lookup/data_hash_function_provider.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
TODO: API 5.0, remove this class
Constant Summary collapse
- TAG =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'v4_data_hash'.freeze
Constants included from SubLookup
Instance Attribute Summary
Attributes inherited from FunctionProvider
#function_name, #locations, #parent_data_provider
Instance Method Summary collapse
Methods inherited from DataHashFunctionProvider
Methods included from Interpolation
Methods included from SubLookup
Methods inherited from FunctionProvider
#create_function_context, #function_context, #initialize, #module_name, #options, #to_s
Methods included from DataProvider
ensure_types_initialized, #key_lookup, key_type, #lookup, #module_name, #unchecked_key_lookup, #validate_data_hash, #validate_data_value, value_type
Constructor Details
This class inherits a constructor from Puppet::Pops::Lookup::FunctionProvider
Instance Method Details
#call_data_hash_function(ctx, lookup_invocation, location) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
106 107 108 |
# File 'lib/puppet/pops/lookup/data_hash_function_provider.rb', line 106 def call_data_hash_function(ctx, lookup_invocation, location) ctx.function.call(lookup_invocation.scope) end |
#name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
102 103 104 |
# File 'lib/puppet/pops/lookup/data_hash_function_provider.rb', line 102 def name "deprecated API function \"#{function_name}\"" end |