Method: Puppet::Parser::Scope#set_match_data
- Defined in:
- lib/puppet/parser/scope.rb
#set_match_data(match_data) ⇒ Object
Sets match data in the most nested scope (which always is a MatchScope), it clobbers match data already set there
961 962 963 |
# File 'lib/puppet/parser/scope.rb', line 961 def set_match_data(match_data) @ephemeral.last.match_data = match_data end |