Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make some attr lazy

  • Loading branch information...
commit 16bfa758b849e10916af66a61efd1154c93b2656 1 parent 363fb6e
@jtpalmer authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  week4/lib/Games/ElectricLines.pm
View
2  week4/lib/Games/ElectricLines.pm
@@ -19,6 +19,7 @@ has _share_dir => (
has _app => (
is => 'ro',
isa => 'SDLx::App',
+ lazy => 1,
builder => '_build_app',
handles => [qw( run )],
);
@@ -91,6 +92,7 @@ has _label => (
has _exits => (
is => 'ro',
isa => 'ArrayRef',
+ lazy => 1,
builder => '_build_exits',
);
Please sign in to comment.
Something went wrong with that request. Please try again.