[Moose-commits] r7326 -
MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Sun Jan 18 02:04:14 GMT 2009
Author: sartak
Date: 2009-01-17 18:04:13 -0800 (Sat, 17 Jan 2009)
New Revision: 7326
Modified:
MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Parameters.pm
Log:
Use the parameter metaclass
Modified: MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Parameters.pm
===================================================================
--- MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Parameters.pm 2009-01-18 02:04:03 UTC (rev 7325)
+++ MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Parameters.pm 2009-01-18 02:04:13 UTC (rev 7326)
@@ -1,4 +1,8 @@
package MooseX::Role::Parameterized::Parameters;
+# XXX: Mister Wizard, what's the right way to declare a different attribute metaclass?
+use metaclass 'Moose::Meta::Class' => (
+ attribute_metaclass => 'MooseX::Role::Parameterized::Meta::Parameter',
+);
use Moose;
__PACKAGE__->meta->make_immutable;
More information about the Moose-commits
mailing list