Class: Puppet::Pops::Lookup::ScopeLookupCollectingInvocation Private
- Inherits:
-
Invocation
- Object
- Invocation
- Puppet::Pops::Lookup::ScopeLookupCollectingInvocation
- Defined in:
- lib/puppet/pops/lookup/hiera_config.rb
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.
Instance Attribute Summary collapse
- #scope_interpolations ⇒ Object readonly private
Attributes inherited from Invocation
#adapter_class, #default_values, #explainer, #module_name, #override_values, #scope, #top_key
Instance Method Summary collapse
-
#initialize(scope) ⇒ ScopeLookupCollectingInvocation
constructor
private
A new instance of ScopeLookupCollectingInvocation.
- #remember_scope_lookup(*lookup_result) ⇒ Object private
Methods inherited from Invocation
#check, current, #emit_debug_info, #explain_options?, #global_hiera_config_path, #global_only?, #hiera_v3_location_overrides, #lookup, #lookup_adapter, #only_explain_options?, #report_found, #report_found_in_defaults, #report_found_in_overrides, #report_location_not_found, #report_merge_source, #report_module_not_found, #report_module_provider_not_found, #report_not_found, #report_result, #report_text, #set_global_only, #set_hiera_v3_location_overrides, #with
Constructor Details
#initialize(scope) ⇒ ScopeLookupCollectingInvocation
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 ScopeLookupCollectingInvocation.
13 14 15 16 |
# File 'lib/puppet/pops/lookup/hiera_config.rb', line 13 def initialize(scope) super(scope) @scope_interpolations = [] end |
Instance Attribute Details
#scope_interpolations ⇒ Object (readonly)
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.
11 12 13 |
# File 'lib/puppet/pops/lookup/hiera_config.rb', line 11 def scope_interpolations @scope_interpolations end |
Instance Method Details
#remember_scope_lookup(*lookup_result) ⇒ 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.
18 19 20 |
# File 'lib/puppet/pops/lookup/hiera_config.rb', line 18 def remember_scope_lookup(*lookup_result) @scope_interpolations << lookup_result end |