Many different kinds of Ruby objects respond to #call. Today's dish is a demonstration of how this fact can be harnessed to easily swap out different implementations of a collaborator …
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.