Sha256: e004435eae005c4f73edbede45c3b68a9375cc71de7d30c507ce76c114bd3d81
Contents?: true
Size: 112 Bytes
Versions: 3
Compression:
Stored size: 112 Bytes
Contents
class Array def to_hash(keys) hash = {} keys.zip(self).each { |k, v| hash[k] = v } hash end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
brainz-0.1.3 | lib/ext/array.rb |
brainz-0.1.2 | lib/ext/array.rb |
brainz-0.1.1 | lib/ext/array.rb |