Wow, this is really clear and nice! Ruby has so. Many. Convenience methods that I really miss when I go to other languages sometimes.
Indeed :-) Of course this isn't really code I'd write for a production app, but I have to do that all day anyway... For me the purpose of AoC is recreational programming, i.e. having fun, exploring and just doing things because you can.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.