Method: Puppet::Parser::Scope::ParameterScope#initialize
- Defined in:
- lib/puppet/parser/scope.rb
#initialize(parent, callee_name, param_names) ⇒ ParameterScope
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 ParameterScope.
218 219 220 221 222 223 |
# File 'lib/puppet/parser/scope.rb', line 218 def initialize(parent, callee_name, param_names) super(parent) @callee_name = callee_name @params = {} param_names.each { |name| @params[name] = Access.new } end |