Great list of Ruby tips
Apr 22, 2014
I learned about Enumerable#each_with_object to replace #inject and not having to return the memo from the block.
Link: Ruby Tips Part 5 via globaldev.co.uk
Apr 22, 2014
I learned about Enumerable#each_with_object to replace #inject and not having to return the memo from the block.
Link: Ruby Tips Part 5 via globaldev.co.uk