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 }
Required Ruby Version
>= 0
Authors
Daniel Pepper
Versions
- 4.1.0 April 10, 2026 (6.5 KB)
- 4.0.0 October 09, 2018 (6.5 KB)
- 3.0.1 April 26, 2018 (6.5 KB)
- 3.0.0 April 26, 2018 (6.5 KB)
- 2.0.1 October 08, 2017 (6.5 KB)
- 0.0.1 December 28, 2016 (5 KB)