In this rare beginner-oriented episode, we're going to talk about looping constructs in Ruby, starting from the most basic infinite loops, and building up to for/in loops.
In today’s RubyTapas episode, guest chef Jordan Raine will show you a practical application of the new pattern-matching case statements in Ruby 2.7. Enjoy!
There's more to Ruby's ensure keyword than just exception handling.
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 …
A refactoring episode, showing how to replace exceptions-as-flow-control with the "catch" and "throw" methods.
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.