summaryrefslogtreecommitdiff
path: root/lib/chef/resource_collection
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
commit4fd88f1f3c7d847712e61abab2bac6cb4a987265 (patch)
treedfb881adfed537b6f6c9084f7a61779416605e1e /lib/chef/resource_collection
parentf17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (diff)
downloadchef-4fd88f1f3c7d847712e61abab2bac6cb4a987265.tar.gz
add some @yield docs
added some FIXMEs because trying to sort out types for random undocumented code was making me completely aggro
Diffstat (limited to 'lib/chef/resource_collection')
-rw-r--r--lib/chef/resource_collection/resource_list.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource_collection/resource_list.rb b/lib/chef/resource_collection/resource_list.rb
index fe96e1a69c..37eb12a107 100644
--- a/lib/chef/resource_collection/resource_list.rb
+++ b/lib/chef/resource_collection/resource_list.rb
@@ -76,6 +76,7 @@ class Chef
@resources
end
+ # FIXME: yard with @yield
def execute_each_resource
@iterator = ResourceCollection::StepableIterator.for_collection(@resources)
@iterator.each_with_index do |resource, idx|