Method: ChefAPI::Resource::DataBag.each
- Defined in:
- lib/chef-api/resources/data_bag.rb
.each(&block) ⇒ Object
59 60 61 62 63 64 |
# File 'lib/chef-api/resources/data_bag.rb', line 59 def each(&block) collection.each do |name, path| result = new(name: name) block.call(result) if block end end |