projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ad2fbc4
)
overriding new isn't necessary when using mx-nonmoose
Jesse Luehrs [Sat, 7 May 2011 18:03:13 +0000 (13:03 -0500)]
lib/Moose/Cookbook/Basics/Recipe11.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Cookbook/Basics/Recipe11.pod
b/lib/Moose/Cookbook/Basics/Recipe11.pod
index
6fcd3b1
..
e64902e
100644
(file)
--- a/
lib/Moose/Cookbook/Basics/Recipe11.pod
+++ b/
lib/Moose/Cookbook/Basics/Recipe11.pod
@@
-35,17
+35,6
@@
use Test::Requires {
predicate => 'has_mayan_date',
);
- sub new {
- my $class = shift;
-
- my $obj = $class->SUPER::new(@_);
-
- return $class->meta->new_object(
- __INSTANCE__ => $obj,
- @_,
- );
- }
-
after 'set' => sub {
$_[0]->_clear_mayan_date;
};