Gotta ♥ Ruby’s syntax
Rarely do I see the usage of each_with_object and Hash instantiation with default value in Ruby code while they help writing shorter yet understandable code.
Rarely do I see the usage of each_with_object and Hash instantiation with default value in Ruby code while they help writing shorter yet understandable code.
Post a comment