August 2009

Inject the Hash before you tap it

There is a Ruby best practices blog that is exploring the uses of Object#tap, particularly with respect to building hashes, as per the example they give:

Read more...

Written on Wed Aug 5 19:57:39 2009.
Tagged as ruby.