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



1005
1006
1007
# File 'lib/puppet/parser/scope.rb', line 1005

def set_match_data(match_data)
  @ephemeral.last.match_data = match_data
end