# File lib/puppet/parser/parser_support.rb, line 217 217: def parse_ruby_file 218: # Execute the contents of the file inside its own "main" object so 219: # that it can call methods in the resource type API. 220: Puppet::DSL::ResourceTypeAPI.new.instance_eval(File.read(self.file)) 221: end