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.
Month: November 2012
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 #024: Incidental Change
Have you ever looked at a diff that was cluttered by meaningless "noise" - changes that existed just to satisfy the parser, and were a distraction from the semantic changes …
Episode #023: Tempfile
In this episode we look at the Tempfile standard library, and how it can facilitate communicating with subprocesses.
Episode #022: Inline Rescue
Putting a rescue at the end of a line can get you into unexpected trouble. In this episode we'll look at why, as well as at the one case where …