chunk_while, numbered block arguments - Advent of Code 2022 Day 1 with Ruby
Solution for Advent of Code day 1 with Ruby! In this episode, you'll learn about using the chunk_while enumerable method and numbered block arguments.
Challenge: https://adventofcode.com/2022/day/1
Solution: https://gist.github.com/cjavdev/acd047fe1c04104665a8e3225998b2a3
#ruby #adventofcode