summaryrefslogtreecommitdiff
path: root/lib/GridFiller/Chooser.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/GridFiller/Chooser.pm')
-rw-r--r--lib/GridFiller/Chooser.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/GridFiller/Chooser.pm b/lib/GridFiller/Chooser.pm
index 6feb429..04e3cc9 100644
--- a/lib/GridFiller/Chooser.pm
+++ b/lib/GridFiller/Chooser.pm
@@ -3,7 +3,6 @@ use Moose;
use namespace::autoclean;
use GridFiller::Status;
use GridFiller::Constants ':all';
-use MooseX::Types::Moose qw(CodeRef);
use Carp;
with 'MooseX::Log::Log4perl';
@@ -14,15 +13,10 @@ has status => (
required => 1,
handles => {
grid => 'grid_status',
+ length => 'length',
},
);
-has length => (
- isa => CodeRef,
- is => 'rw',
- default => sub { sub {length shift} },
-);
-
sub find_place_for {
croak "unimplemented";
}