TIL: Automatic Deep Keys with Ruby Hashes
Generate keys automatically for building deep hashes quickly
Jun 25, 2020
Generate keys automatically for building deep hashes quickly
Matching more than one value in a case statement
by using recursive procs.
I want to pick one random line from a very large file using Ruby but without loading the whole file in memory.