05 May 2024 • 2 min readUsing Ruby Structs to Model API ResponsesHere's a technique I use to model API responses in a simple class. This provides nice ergonomics with minimal boilerplate.
01 May 2024 • 5 min readParameterized Modules in RubyRuby lets you use `[]` for more than arrays—and that opens the door to clever tricks like parameterized modules.