Posted 14 days ago. Visible to the public. Linked content. Auto-destruct in 46 days

Updated: Collect a Hash from an Array

Since Ruby 2.1 you can do this with Array#to_h. The hash extension we used for this (Array#collect_hash) is no longer required.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Henning Koch
Last edit:
14 days ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more