Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 533 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 533 Bytes

Advent of Code 2024

Advent of Code 2024 solutions in Ruby

Requirements

  • Ruby 3.3.6 (but older versions may work).

Running

You can run any given day like so:

# From the root of the repository
$ cd ./2024/ruby/day1
$ ./part1

My own puzzle input is stored alongside the solutions. The scripts all accept a filename as an argument, so you can use your own input (or, perhaps, the sample input given with the puzzle description):

$ cd ./2024/ruby/day1
$ ./part1 path/to/some/input_file

Tests

lol