In today's episode, we put together several of the small bits of Ruby lore we've learned in order to build a simple and pragmatic mail templating system.
In today's episode we explore methods for unindenting text. Along the way, we'll learn some tricks and play some code golf.
In this episode, we'll look at an easy way to find items in a collection with the lowest (or highest) of some attribute. And at how we can apply this …
Today we'll compare a few different ways to quote large, multi-line blocks of text.
Today's dish is a quick little refactoring that demonstrates working with multiple values pulled from a Hash.
An easier way to find the location of the current source file.
In today's episode, we'll compare two methods for getting to the body of an email: one imperative; one functional; and both idiomatic Ruby.
In this episode we take a method with a large and unweildy signature, and begin to pull parameters out into configurable options.