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:
=

install:
=

Versions:

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

Development Dependencies (1):

rake >= 0

Owners:

Authors:

  • Daniel Pepper

SHA 256 checksum:

=

Total downloads 1,090,883

For this version 2,298

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: