rename Solutions to Puzzle
This commit is contained in:
parent
9fb6d13df2
commit
919f966ec3
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ pnpm-lock.yaml
|
||||
*.orig
|
||||
deno.lock
|
||||
input
|
||||
solutions.yml
|
||||
|
@ -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 );
|
||||
|
@ -2,7 +2,6 @@ use lib qw/ . /;
|
||||
use lib qw! ../../perl-lib !;
|
||||
|
||||
use 5.36.0;
|
||||
use Solution;
|
||||
|
||||
package Part2;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
use 5.36.0;
|
||||
|
||||
package Solution;
|
||||
package AoC::Puzzle;
|
||||
|
||||
use Moo;
|
||||
|
Loading…
Reference in New Issue
Block a user