Latest
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
TIL: Fun With Ruby Method Creation
Ruby's def for method creation is a statement. This means it returns a value and you can use it to do interesting things
TIL: Ruby Methods Can Take Tuples
Filed in the interesting but don't use category of fun Ruby things, but method arguments can be tuples
TIL: Ruby 2.7's Enumerable#filter_map
The Enumerable module is a source of wonder and crammed with so many useful methods
TIL: How to Export .env Variables to the Current Shell
Everything is Docker with lots of .env variables I need exported into the current shell environment
Controlling State Variables in Cucumber
Cucumber steps love local variables as the way the transition state across steps but they're a rich source of bugs in your test suite.