summaryrefslogtreecommitdiff
path: root/lib/chef/run_list.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-23 11:36:29 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-23 11:36:29 -0800
commitf17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (patch)
treec034024fd7fd216dcc3dfd8f0d3fa95ced5a89f6 /lib/chef/run_list.rb
parent271d3e4f91e3d158c9112512ac75d0ca51fc928d (diff)
downloadchef-f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1.tar.gz
remove unused block argumentslcg/chefstyle-perf
Diffstat (limited to 'lib/chef/run_list.rb')
-rw-r--r--lib/chef/run_list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/run_list.rb b/lib/chef/run_list.rb
index 9647ef16e6..86c28e6824 100644
--- a/lib/chef/run_list.rb
+++ b/lib/chef/run_list.rb
@@ -105,11 +105,11 @@ class Chef
@run_list_items[pos] = parse_entry(item)
end
- def each(&block)
+ def each
@run_list_items.each { |i| yield(i) }
end
- def each_index(&block)
+ def each_index
@run_list_items.each_index { |i| yield(i) }
end