lib/chef/provider/package/dpkg.rb
def name_sources
          @name_sources =
            begin
              Hash[*package_name_array.zip(sources).flatten]
            end
        end
# Helper to construct Hash of names-to-sources.
#
# @return [Hash] Mapping of package names to sources
Helper to construct Hash of names-to-sources.
Helper to construct Hash of names - to - sources .
def name_sources
          @name_sources =
            begin
              Hash[*package_name_array.zip(sources).flatten]
            end
        end
def name_sources @name_sources = begin Hash [ * package_name_array . zip ( sources ) . flatten ] end end
Helper to construct Hash of names-to-sources.
Helper to construct Hash of names - to - sources .
Mapping of package names to sources
Mapping of package names to sources
Hash