My ruby solutions to advent of code 2019 (adventofcode.com).
lib
contains solution files likeday04.rb
, which inherit fromsolver.rb
.data
is a required folder with files likeday04.txt
, but is not included here.
- Run
ruby scripts/setup_day.rb 04 3
to create files for day 4 with 3 test examples. - Run
ruby scripts/solve_day.rb 04
to print solutions for day 4.
Run rake test
to run the tests.
Bug reports and pull requests are welcome.
This is open source under the terms of the MIT License.