Tap
Let’s talk about Ruby’s `.tap` method. How does it differ from related combinators, like `.then`? When should we use it? And… why is it called “tap”, anyway?
Let’s talk about Ruby’s `.tap` method. How does it differ from related combinators, like `.then`? When should we use it? And… why is it called “tap”, anyway?
Several episodes back we wrote the Tapas::Queue class, a thread-safe queue class that supports both timeouts and size limits. Since then we’ve been shaving a whole barnyard full of yaks in order to be able to safely refactor that class. …
[…] we've published so far, including the entire RubyTapas episode archive. It's a tapestry of tapas.
Five years ago, I announced that RubyTapas had become Graceful.Dev. But a revenant of that feast was left behind: the rubytapas.com site stuck around to handle billing for legacy customers, and I never got around to fully rolling that aspect into Graceful.Dev. Until now. As of today, RubyTapas.com is no more. If you have a […]
[…] languages, the linkage between Ruby's modules and metaprogramming might seem non-obvious. But as Ruby's fundamental unit of namespacing, inheritance, and composition, modules are the core building-block for industrial-strength metaprogramming and Domain-Specific Language (DSL) construction. If metaprogramming is a way to augment a language, modules are the phrasebooks for these add-on dialects.
RubyTapas.com is retired. If you had a RubyTapas account, it now lives here at Graceful.Dev. Same plan, same price, same access. What that means for you depends on what you see in your account: If your subscription info shows a RubyTapas membership with an active subscription — RubyTapas Hungry, RubyTapas Legacy, RubyTapas Ravenous, or one […]
Welcome to Graceful.Dev! If you're coming from RubyTapas, here's a little about how things work around here: First off, you can find the content-stream-formerly-known-as-RubyTapas in the course called The Tapastry. There you'll find the complete RubyTapas archive (plus new videos added since the switchover). They are conveniently organized by year. And now that they are […]
Avdi here. Lately I’ve been spending most of my time working on a talk for the Southeast Ruby conference in Nashville, TN. So, for today’s episode I thought I’d give you a little peek at a section of this talk. …
In the preceding episode, Chris Salzberg showed us how modules are Ruby objects just like any other. And just like other kinds of objects, we can make new classes of module. In today’s episode, he shows us how to apply …