Today we begin a series on the Rake build tool. We'll be getting into some powerful, lesser-known features as we continue on; but we'll start out with a quick review …
Month: August 2013
Episode #128: Enumerable Queue
Queue, somewhat surprisingly, is not enumerable. Which is all the excuse we need to have some more fun with the Enumerator class, in today's episode.
Episode #127: Parallel Fib
Last time around we introduced the Queue class. In this episode, we'll put it to work!
Episode #126: Queue
Today's episode introduces the Queue standard library, and shows how it can be used to coordinate threads.
Episode #125: And/Or
Ruby has both symbolic and English forms of the logical "and" and "or" operators. Which one to choose may seem like a matter of taste, but that assumption can get …
Episode #124: Elixir
Today we take a brief sojourn out of Ruby and into the Elixir programming language. I'll show you one of my first programs in Elixir and point out how the …
Episode #123: Removing Debug Output
Have you ever had a project that spat out so much deubg output when it ran that you couldn't tell when it had a legitimate error or warning to report? …
Episode #122: Testing Blocks With Rspec
Last episode we looked at a simple way to test if a method executes a block as intended that will work in any test framework. But if your tool of …
Episode #121: Testing Blocks
Today's episode answers the question: how do you test that a block passed to a method is executed as intended?