[Moose-commits] r7646 - in MooseX-GlobRef-Object/trunk: .
lib/MooseX/GlobRef/Meta
dexter at code2.0beta.co.uk
dexter at code2.0beta.co.uk
Thu Feb 12 22:25:36 GMT 2009
Author: dexter
Date: 2009-02-12 14:25:36 -0800 (Thu, 12 Feb 2009)
New Revision: 7646
Modified:
MooseX-GlobRef-Object/trunk/MANIFEST
MooseX-GlobRef-Object/trunk/lib/MooseX/GlobRef/Meta/Class.pm
Log:
* Passes Perl::Critic and Pod::Cover.
Modified: MooseX-GlobRef-Object/trunk/MANIFEST
===================================================================
--- MooseX-GlobRef-Object/trunk/MANIFEST 2009-02-12 22:15:46 UTC (rev 7645)
+++ MooseX-GlobRef-Object/trunk/MANIFEST 2009-02-12 22:25:36 UTC (rev 7646)
@@ -12,9 +12,9 @@
MANIFEST.SKIP
META.yml
README
-t/010_extends_object.t
-t/020_metaclass.t
-t/030_metaclass_instance.t
+t/010_MooseX_GlobRef_Object.t
+t/020_MooseX_GlobRef_Meta_Class.t
+t/030_MooseX_GlobRef_Meta_Instance.t
t/test.pl
t/tlib/MooseX/GlobRef/Meta/ClassImmutableTest.pm
t/tlib/MooseX/GlobRef/Meta/ClassTest.pm
@@ -22,6 +22,7 @@
t/tlib/MooseX/GlobRef/Meta/InstanceImmutableTest.pm
t/tlib/MooseX/GlobRef/Meta/InstanceTest.pm
t/tlib/MooseX/GlobRef/Meta/InstanceTestSuite.pm
+t/tlib/MooseX/GlobRef/ObjectBaseTest.pm
t/tlib/MooseX/GlobRef/ObjectImmutableTest.pm
t/tlib/MooseX/GlobRef/ObjectTest.pm
t/tlib/MooseX/GlobRef/ObjectTestSuite.pm
Modified: MooseX-GlobRef-Object/trunk/lib/MooseX/GlobRef/Meta/Class.pm
===================================================================
--- MooseX-GlobRef-Object/trunk/lib/MooseX/GlobRef/Meta/Class.pm 2009-02-12 22:15:46 UTC (rev 7645)
+++ MooseX-GlobRef-Object/trunk/lib/MooseX/GlobRef/Meta/Class.pm 2009-02-12 22:25:36 UTC (rev 7646)
@@ -98,10 +98,24 @@
use parent 'Moose::Meta::Class';
+## no critic (RequireArgUnpacking)
+
+=head1 METHODS
+
+=over
+
+=item initialize
+
+The methods overridden by this class.
+
+=back
+
+=cut
+
sub initialize {
my $class = shift;
my $pkg = shift;
- $class->SUPER::initialize(
+ return $class->SUPER::initialize(
$pkg,
instance_metaclass => 'MooseX::GlobRef::Meta::Instance',
@_,
More information about the Moose-commits
mailing list