Do you ever feel like you're repeating yourself when declaring and then initializing Ruby attributes? Today's episode will help you DRY up your classes.
Today's special is a demonstration of how we can use Ruby's built-in "destructuring" capabilities to simplify complex assignments.
Think you know everything there is to know about parameter defaults? Think again!
Today we'll look at two different ways to memoize a complex method, and talk about why I prefer one over the other.
Today we go a little deeper into keyword arguments in Ruby 2.0/2.1, covering a few use cases we didn't cover in the last episode.
Today's episode is a guide to transitioning various hash argument idioms to Ruby 2.0/2.1 keywords.
Today's special is a note on style with a side order of opinion. Enjoy! (Note: I made a mistake in the visualization of which variables correspond to which on either …
Today's episode introduces the concept of thread-local variables, and shows how they can be put to use in an ActiveRecord-like library.
This episode takes a look at some potentially surprising rules for how Ruby looks up constants. Notes: "Everything you ever wanted to know about constant lookup in Ruby", by Conrad …