One of the most used features in any programming language is a Hash. Today we are going to talk about some of the Ruby’s Hash features, which are well documented, but rarely used — parameters of the Hash constructor. In the second part of this article we will take a look at the arguments of the Array class’ constructor.
Memo #3: Advanced usage of Ruby hashes and arrays
Posted by Dmytro Shteflyuk on under Ruby & Rails