Guides to the core and standard libraries, as well as selected Rubygems.
We all use 'puts' for debugging at some point. This episode shows why 'p' is a better choice.
In today's episode, we learn a wonderfully convenient way to substitute text.
In this episode we'll mimic the behavior of command-line tools like Git that automatically page their output if they detect that they are being run from a terminal.
It would be great if time were always represented in readable, un-ambiguous ISO8601 formats. But when importing legacy data we don't often have that luxury. In this episode, we look …
Today the focus is on a convenient way to extract substrings using regular expressions. We glossed over this technique briefly in an earlier episode, but now it's front and center.
There is more than one way to concatenate arrays, but not all ways are created equal. In this episode we'll compare three approaches in terms of both semantics and efficiency.
In the last episode we gave a class the ability to cache HTTP responses in a Hash or something that behaves like a Hash. Now we'll introduce the Moneta gem, …
Now that we've been formally introduced to the Enumerator class, it's time to apply that knowledge in a concrete way. In this episode we use Pathname and Enumerator to locate …
In previous episodes we've touched on Enumerator in passing. This time it'll take center stage, as we explore just what an Enumerator is and what it's good for.