Method: Puppet::Pal::Compiler#evaluate_file
- Defined in:
- lib/puppet/pal/compiler.rb
#evaluate_file(file) ⇒ Object
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.
Evaluates a puppet language file in top scope. The file must exist and contain valid puppet language code or an error is raised.
98 99 100 |
# File 'lib/puppet/pal/compiler.rb', line 98 def evaluate_file(file) evaluate(parse_file(file)) end |