From: Stevan Little Date: Mon, 1 May 2006 14:49:14 +0000 (+0000) Subject: yeah-it-works X-Git-Tag: 0_29_02~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c54756cda0ab48bb660c5c1429ace8b5aafbb304;p=gitmo%2FClass-MOP.git yeah-it-works --- diff --git a/TODO b/TODO index 7fbd151..d1d2e3d 100644 --- a/TODO +++ b/TODO @@ -11,6 +11,11 @@ when we add it in, to make sure we don't break weird stuff. mugwump was working on this ... +- do not bless methods unless asked + +We should turn off automagic method blessing for classes which are +not explictly asking for a metaclass. + --------------------------------------------------------------------- EXAMPLES TO WRITE --------------------------------------------------------------------- diff --git a/t/108_ArrayBasedStorage_test.t b/t/108_ArrayBasedStorage_test.t index 74bc438..a7b24e9 100644 --- a/t/108_ArrayBasedStorage_test.t +++ b/t/108_ArrayBasedStorage_test.t @@ -17,6 +17,7 @@ BEGIN { use strict; use warnings; use metaclass ( + ':attribute_metaclass' => 'ArrayBasedStorage::Attribute', ':instance_metaclass' => 'ArrayBasedStorage::Instance', ); @@ -53,6 +54,7 @@ BEGIN { use strict; use warnings; use metaclass ( + ':attribute_metaclass' => 'ArrayBasedStorage::Attribute', ':instance_metaclass' => 'ArrayBasedStorage::Instance', );