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.
Category: S1 Premium
Episode #029: Redirecting Output
This episode takes a look at two different methods for redirecting standard out and standard error - one simple and quick, one more comprehensive.
Episode #026: FFI Part 1: Proof of the Concept
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 …
Episode #025: OpenStruct
This episode focuses on OpenStruct, which makes it easy to create ad-hoc value objects from hashes.
Episode #023: Tempfile
In this episode we look at the Tempfile standard library, and how it can facilitate communicating with subprocesses.
Episode #021: Domain Model Events
In this episode we take a look at a common problem in Rails development: slimming down a controller whose functionality can't easily be pushed down into models. We address the …
Episode #019: Pluggable Selector
In today's episode, we revisit episode 11 (Method and Message), and take a look at a way to make the coupling between objects even looser, by making the name of …
Episode #018: Subclassing Array
Sooner or later you'll want to subclass Array. This episode looks at why that's a bad idea, and presents an alternative.