Method: Puppet::Parser::Scope#has_local_variable?
- Defined in:
- lib/puppet/parser/scope.rb
#has_local_variable?(name) ⇒ Boolean
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.
632 633 634 |
# File 'lib/puppet/parser/scope.rb', line 632 def has_local_variable?(name) @ephemeral.last.include?(name) end |