RubyGems Navigation menu

rekey 1.0.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:
=

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.0.0 December 29, 2016 (6.5 KB)
Show all versions (9 total)

Development Dependencies (1):

rake >= 0

Owners:

Authors:

  • Daniel Pepper

SHA 256 checksum:

=

Total downloads 1,034,103

For this version 1,845

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: