diff options
Diffstat (limited to 'lib/chef/resource_collection.rb')
-rw-r--r-- | lib/chef/resource_collection.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource_collection.rb b/lib/chef/resource_collection.rb index 51858c53d8..1aee1f0b06 100644 --- a/lib/chef/resource_collection.rb +++ b/lib/chef/resource_collection.rb @@ -100,6 +100,10 @@ class Chef yield i end end + + def empty? + @resources.empty? + end def lookup(resource) lookup_by = nil |