Recent Posts

I Built a Roblox Game Just to Try

11 minute read

I spend my days in Ruby, Elixir and Emacs. On a whim I tried building a Roblox game in Luau, and found a real, typed, test-driven codebase hiding behind the ...

Writing a DSL in Ruby

5 minute read

An internal DSL is just Ruby that reads like a little language of its own. RSpec, Rake and Sinatra are all built this way. Here’s how to build one yourself, ...

Blocks, Procs, and Lambdas in Ruby

7 minute read

Blocks are everywhere in Ruby: every each, map, and File.open relies on them. Treat blocks, procs and lambdas as one idea and the iterator methods you use da...

How Ruby Finds a Method

5 minute read

Every method call in Ruby is a search. Once you can see the chain the interpreter walks (modules, prepends, singleton classes, super), the object model turns...