Grouping data by various properties is easy in Ruby, and there are more uses for it than you might think...
Write intention-revealing loops with Ruby's Enumerable#cycle method.
Intention-revealing array combinations in Ruby.
Today we'll apply another new Ruby 2.3 feature to a real-world problem.
Today we continue our look at the Enumerable#chunk method, this time applying it to the problem of a streaming network protocol.
Chunking streams of data by some criterion is a technique with a broad range of applicability. In today's episode, we'll learn about Ruby's approach to chunking.
Today's is a quick episode about efficiently splitting a list into high- and low-priority subsets.
Today we look at how we can tighten up our code with the #flat_map method.
Today's episode has some quick tips on how to get the most out of Ruby's #count method.
Today's episode is about creating lazy streams of data using Ruby's lazy enumerators.