Sha256: 5b3f03f852b96a87968c90af70ac4dcc6de21c4456b2a38b42f0697ae4646ffd

Contents?: true

Size: 220 Bytes

Versions: 13

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

# the following extension for class Hash is needed (from Facets of Ruby library):

class Hash
  def self.zip(keys, values) # from Facets of Ruby library
    keys.zip(values).to_h
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
smarter_csv-1.9.2 lib/core_ext/hash.rb
smarter_csv-1.9.2.pre01 lib/core_ext/hash.rb
smarter_csv-1.9.0 lib/extensions/hash.rb
smarter_csv-1.8.5 lib/extensions/hash.rb
smarter_csv-1.8.4 lib/extensions/hash.rb
smarter_csv-1.8.3 lib/extensions/hash.rb
smarter_csv-1.8.2 lib/extensions/hash.rb
smarter_csv-1.8.1 lib/extensions/hash.rb
smarter_csv-1.8.0 lib/extensions/hash.rb
smarter_csv-1.7.4 lib/extensions/hash.rb
smarter_csv-1.7.3 lib/extensions/hash.rb
smarter_csv-1.7.2 lib/extensions/hash.rb
smarter_csv-1.7.1 lib/extensions/hash.rb