rename Solutions to Puzzle

This commit is contained in:
Yanick Champoux 2024-12-10 18:39:19 -05:00
parent 9fb6d13df2
commit 919f966ec3
4 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ pnpm-lock.yaml
*.orig
deno.lock
input
solutions.yml

View File

@ -2,7 +2,7 @@ use lib qw/ . /;
use lib qw! ../../perl-lib !;
use 5.36.0;
use Solution;
use AoC::Puzzle;
package Part1;
@ -11,7 +11,7 @@ use Moo;
use AoC::Grid;
use List::AllUtils qw/ sum /;
extends 'Solution';
extends 'AoC::Puzzle';
has '+input', default => sub ($self) {
AoC::Grid->new( string => $self->file_slurp );

View File

@ -2,7 +2,6 @@ use lib qw/ . /;
use lib qw! ../../perl-lib !;
use 5.36.0;
use Solution;
package Part2;

View File

@ -1,6 +1,6 @@
use 5.36.0;
package Solution;
package AoC::Puzzle;
use Moo;