RubyGems Navigation menu

rekey 0.0.1

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. 0.0.1 - December 28, 2016 (5 KB)
Show all versions (9 total)

Owners:

Authors:

  • Daniel Pepper

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 957,663

For this version 1,736

License:

MIT

Required Ruby Version: >= 0

Links: