projects
/
gitmo/MooseX-Singleton.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
some changes to work the next Moose, making constructor inlining work
[gitmo/MooseX-Singleton.git]
/
lib
/
MooseX
/
Singleton
/
Meta
/
Method
/
Constructor.pm
diff --git
a/lib/MooseX/Singleton/Meta/Method/Constructor.pm
b/lib/MooseX/Singleton/Meta/Method/Constructor.pm
index
6e83444
..
e95e318
100644
(file)
--- a/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
+++ b/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
@@
-72,6
+72,10
@@
sub initialize_body {
$self->{'body'} = $code;
}
+sub _expected_constructor_class {
+ return 'MooseX::Singleton::Object';
+}
+
no Moose;
1;