opscode/chef — pull request #1367 by danielsdeleo (2014-04-09 15:55:32+00:00)
Title: Wrap code in an instance_eval context for syntax check.

This evaluates the code in a context similar to what Chef does when
compiling recipes, so that idioms like using `return` to end evaluation
of a recipe will work.