lib/chef/provider/package.rb
# Helper to iterate over all the indexed *_array's in sync
#
# @yield [package_name, new_version, current_version, candidate_version] Description of block
Helper to iterate over all the indexed *_array's in sync
Helper to iterate over all the indexed * _array ' s in sync
def each_package
        package_name_array.each_with_index do |package_name, i|
          candidate_version = candidate_version_array[i]
          current_version = current_version_array[i]
          magic_version = use_magic_version? ? magic_version_array[i] : current_version_array[i]
          new_version = new_version_array[i]
          yield package_name, new_version, current_version, candidate_version, magic_version
        end
      end
def each_package package_name_array . each_with_index do | package_name , i | candidate_version = candidate_version_array [ i ] current_version = current_version_array [ i ] magic_version = use_magic_version? ? magic_version_array [ i ] : current_version_array [ i ] new_version = new_version_array [ i ] yield package_name , new_version , current_version , candidate_version , magic_version end end
Helper to iterate over all the indexed *_array's in sync
Helper to iterate over all the indexed * _array ' s in sync
]
<not_specific>
Description of block
Description of block