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
to create data file, solver file, and test file for day 4. - 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.