TIL: Ruby Knows the Source of Required Code
There's a magic variable which, if initialised, will contain the source of all the files imported afterwards
TIL: Using File Locking for Exclusivity in Ruby
Two TILs in one, how to use native file locking to prevent more than one process running at the same time
TIL: Ruby Has a Built-in Persistance Database
Did you know Ruby has a built-in database?
TIL: Ruby Associative Arrays
Using arrays as if they had keys
TIL: Automatic Deep Keys with Ruby Hashes
Generate keys automatically for building deep hashes quickly. Best explained with an example.
TIL: Matching Multiple Values in a Case Statement
Matching more than one value in a case statement
TIL: Incrementing Alphanumerics
Incrementing aphanumerics
TIL: Ruby's Built-in Timeout
Explicitly timeout long-running tasks