Method: ChefAPI::ErrorCollection#initialize
- Defined in:
- lib/chef-api/error_collection.rb
#initialize ⇒ Proc
The default proc for the hash needs to be an empty Array.
11 12 13 |
# File 'lib/chef-api/error_collection.rb', line 11 def initialize super { |h, k| h[k] = [] } end |