summary refs log tree commit diff
path: root/lib/MooseX/Privacy/Meta/Method/Protected.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/MooseX/Privacy/Meta/Method/Protected.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Privacy/Meta/Method/Protected.pm b/lib/MooseX/Privacy/Meta/Method/Protected.pm
index 3d4b88a..90a22e1 100644
--- a/lib/MooseX/Privacy/Meta/Method/Protected.pm
+++ b/lib/MooseX/Privacy/Meta/Method/Protected.pm
@@ -5,7 +5,7 @@ extends 'Moose::Meta::Method';
 
 use Carp;
 
-sub new {
+sub wrap {
     my $class = shift;
     my %args  = @_;