Method: Puppet::Pops::Lookup::FunctionContext#initialize

Defined in:
lib/puppet/pops/lookup/context.rb

#initialize(environment_context, module_name, function) ⇒ FunctionContext

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.

Returns a new instance of FunctionContext.



68
69
70
71
72
73
74
# File 'lib/puppet/pops/lookup/context.rb', line 68

def initialize(environment_context, module_name, function)
  @data_hash = nil
  @cache = {}
  @environment_context = environment_context
  @module_name = module_name
  @function = function
end