These are code solutions to the problems of Advent of Code 2022 Using Ruby as of day 2, but this may change depending on the difficulty, mood, food etc
The .rb
files can be run directly as executable
$ chmod +x day1.rb
$ ./day1.rb < input
or using a ruby interpreter
$ ruby day1.rb < input
Tempting not gonna lie! but is it halal ?
Smash that `star` button above if you don’t want to make me do it.