Method: Puppet::Context::Stack#initialize
- Defined in:
- lib/puppet/context.rb
#initialize(parent, bindings, description = '') ⇒ Stack
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 Stack.
149 150 151 152 153 |
# File 'lib/puppet/context.rb', line 149 def initialize(parent, bindings, description = '') @parent = parent @bindings = parent.bindings.merge(bindings || {}) @description = description end |