fix typo in initialize_body method
Yuval Kogman [Sat, 12 Apr 2008 14:51:30 +0000 (14:51 +0000)]
lib/Moose/Meta/Method/Constructor.pm
lib/Moose/Meta/Method/Destructor.pm

index 6fa9719..c6a7b37 100644 (file)
@@ -36,7 +36,7 @@ sub new {
     # needed
     weaken($self->{'$!associated_metaclass'});
 
-    $self->intialize_body;
+    $self->initialize_body;
 
     return $self;
 }
@@ -51,7 +51,7 @@ sub associated_metaclass { (shift)->{'$!associated_metaclass'} }
 
 ## method
 
-sub intialize_body {
+sub initialize_body {
     my $self = shift;
     # TODO:
     # the %options should also include a both
@@ -315,7 +315,7 @@ not particularly useful.
 
 =item B<options>
 
-=item B<intialize_body>
+=item B<initialize_body>
 
 =item B<associated_metaclass>
 
index 2e98191..481a85c 100644 (file)
@@ -33,7 +33,7 @@ sub new {
     # needed
     weaken($self->{'$!associated_metaclass'});    
 
-    $self->intialize_body;
+    $self->initialize_body;
 
     return $self;    
 }
@@ -47,7 +47,7 @@ sub associated_metaclass { (shift)->{'$!associated_metaclass'} }
 
 sub is_needed { defined $_[0]->{'&!body'} ? 1 : 0 }
 
-sub intialize_body {
+sub initialize_body {
     my $self = shift;
     # TODO:
     # the %options should also include a both 
@@ -108,7 +108,7 @@ not particularly useful.
 
 =item B<is_needed>
 
-=item B<intialize_body>
+=item B<initialize_body>
 
 =item B<associated_metaclass>