Language features, syntax, and gotchas.
In today's episode we discover how to make an arbitrary object implicitly "splat"-able.
Delving further into Ruby's destructuring assignment, or "splat", mechanism, today we look at some cases where Ruby performs splatting without an explicit '*' operator.
Ruby supports a limited form of destructuring assignment, in the form of the "splat" operator. In today's episode we go over splat basics, in order to lay a foundation for …
As we continue to rewrite a subset of the UNIX tail(1) command, we learn how to write a do...while loop in Ruby.
In the second of two episodes about the 'break' keyword, we discover how to override method return values to suit our own needs.
In this, the first of two episodes on the 'break' keyword, we look at how it can be applied beyond breaking out of loops.
In this episode we'll explore Ruby's lightweight concurrency primitive by using it to emulate the Enumerator class.
This episode explores ARGF, a powerful object for working with input files in command-line programs.
It's a library! No, it's an executable! Relax, your Ruby files can be both require-able libraries and executables!