Last active
December 19, 2015 06:39
-
-
Save parshap/5913107 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN_LIST.each do |recipe| | |
chef.add_recipe recipe | |
end | |
RUN_LIST.each &chef.add_recipe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN_LIST.forEach(function(recipe) { | |
chef.add_recipe(recipe) | |
}); | |
RUN_LIST.forEach(chef.add_recipe.bind(chef)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment