From: Shawn M Moore Date: Sun, 9 Nov 2008 03:29:49 +0000 (+0000) Subject: Make parameter_metaclass rw, if a user wants to shoot himself in the foot I'll load... X-Git-Tag: 0.05~106 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=39d3d5d0dd38329559d38072243d6a9c78ce1bae;p=gitmo%2FMooseX-Role-Parameterized.git Make parameter_metaclass rw, if a user wants to shoot himself in the foot I'll load his gun --- diff --git a/lib/MooseX/Role/Parameterized/Meta/Role.pm b/lib/MooseX/Role/Parameterized/Meta/Role.pm index 620b843..742cfbf 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role.pm @@ -6,7 +6,7 @@ extends 'Moose::Meta::Role'; use MooseX::Role::Parameterized::Parameters; has parameter_metaclass => ( - is => 'ro', + is => 'rw', isa => 'Moose::Meta::Class', lazy => 1, default => sub {