Method: Puppet::Parser::AST#parsewrap
- Defined in:
- lib/vendor/puppet/parser/ast.rb
#parsewrap ⇒ Object
Wrap a statemp in a reusable way so we always throw a parse error.
59 60 61 62 63 |
# File 'lib/vendor/puppet/parser/ast.rb', line 59 def parsewrap exceptwrap :type => Puppet::ParseError do yield end end |