RubyGems Navigation menu

rekey 1.1.0

For turning Arrays into Hashes, with keys computed from the Array contents. Or for rekeying Hashes. [ 1, 2, 3 ].rekey {|v| v} => { 1 => 1, 2 => 2, 3 => 3 }

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 4.0.0 - October 09, 2018 (6.5 KB)
  2. 3.0.1 - April 26, 2018 (6.5 KB)
  3. 3.0.0 - April 26, 2018 (6.5 KB)
  4. 2.0.1 - October 08, 2017 (6.5 KB)
  5. 2.0.0 - October 04, 2017 (6.5 KB)
  6. 1.1.0 - January 11, 2017 (7 KB)
Show all versions (9 total)

Development Dependencies (1):

rake >= 0

Owners:

Authors:

  • Daniel Pepper

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 957,673

For this version 2,028

License:

MIT

Required Ruby Version: >= 0

Links: