Sha256: 7699ab1de27d7db9abb92cd4cdbf4d48b4352d611e1b3b291ef60728a7f1691a

Contents?: true

Size: 231 Bytes

Versions: 24

Compression:

Stored size: 231 Bytes

Contents

# 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
    h = {}
    keys.size.times{ |i| h[ keys[i] ] = values[i] }
    h
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
smarter_csv-1.1.3 lib/extensions/hash.rb
smarter_csv-1.1.2 lib/extensions/hash.rb
smarter_csv-1.1.1 lib/extensions/hash.rb
smarter_csv-1.1.0 lib/extensions/hash.rb
smarter_csv-1.0.19 lib/extensions/hash.rb
smarter_csv-1.0.18 lib/extensions/hash.rb
smarter_csv-1.0.17 lib/extensions/hash.rb
smarter_csv-1.0.16 lib/extensions/hash.rb
smarter_csv-1.0.15 lib/extensions/hash.rb
smarter_csv-1.0.14 lib/extensions/hash.rb
smarter_csv-1.0.12 lib/extensions/hash.rb
smarter_csv-1.0.11 lib/extensions/hash.rb
smarter_csv-1.0.10 lib/extensions/hash.rb
smarter_csv-1.0.9 lib/extensions/hash.rb
smarter_csv-1.0.8 lib/extensions/hash.rb
smarter_csv-1.0.7 lib/extensions/hash.rb
smarter_csv-1.0.6 lib/extensions/hash.rb
smarter_csv-1.0.5 lib/extensions/hash.rb
smarter_csv-1.0.4 lib/extensions/hash.rb
smarter_csv-1.0.3 lib/extensions/hash.rb