Default Values for Ruby Hashes
Setting a default for ruby hashes which returns a new object
TIL: Counting Consecutive Items in a Ruby Array
I wanted to know how many times a thing occurs consecutively in array. Only consecutive items are important
TIL: Ruby Splat Operator Builds Arrays
You can use the splat operator to coerce values into arrays
TIL: Denaturing Ruby Array to get the Last Element and Remainder
Assigning the first element and the remainder of an array to a variable is common, but you can also do the same in reverse
Inline Bundler for Ruby Scripts
You can write a simple Ruby script which includes in-line bundler and so avoids the need to have a separate Gemfile.
TIL: Finding the Source of a Ruby Method
Find out where the source of a method is defined
TIL: Lambda Composition in Ruby
Joining lambdas together for fun and profit
TIL: Ruby Currying
If currying is a way to partially execute a function, here's how Ruby handles it
TIL: Ruby Methods are Functions: Getting a Reference
I have to look this up every single time I want to do this: let's grab a reference to a Ruby method so we can pass it around