For such similar and broadly useful data structures, Struct and Hash are surprisingly incompatible. In this episode we look at some ways to smooth over their differences, and answer a …
On the menu today is an exploration of what, exactly, happens when we define a class in Ruby.
Following on to the episodes about #fetch, today's episode answers the question: what do we do when we want the same defaulting behavior everwhere a Hash is used?
Today we revisit episode 21, and try out several different takes on registering observer callbacks inline.
Celebrate Friday with a stupid Ruby trick! In this epsiode we discover one of Ruby's most overlooked operators, and overload it just because we can.
This episode takes a look at two different methods for redirecting standard out and standard error - one simple and quick, one more comprehensive.
With the FFI Gem, building wrappers for C libraries is easier than ever. This episode gives a brief overview of building the beginnings of a Ruby interface to the Linux …
This episode focuses on OpenStruct, which makes it easy to create ad-hoc value objects from hashes.