summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-02-14 12:08:13 +0100
committerfranck cuny <franck@lumberjaph.net>2010-02-14 12:08:13 +0100
commit704ef15f8aad5a7c608893fff20663ca80e0bb2d (patch)
treea0f64a220e24a5467a74adbcb69ed5b94f82e91b
parentmake push_* private and use wrap instead of new (diff)
downloadmoosex-privacy-704ef15f8aad5a7c608893fff20663ca80e0bb2d.tar.gz
rename new => wrap
-rw-r--r--lib/MooseX/Privacy/Meta/Method/Private.pm2
-rw-r--r--lib/MooseX/Privacy/Meta/Method/Protected.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/MooseX/Privacy/Meta/Method/Private.pm b/lib/MooseX/Privacy/Meta/Method/Private.pm
index 9bcf68d..deb21d5 100644
--- a/lib/MooseX/Privacy/Meta/Method/Private.pm
+++ b/lib/MooseX/Privacy/Meta/Method/Private.pm
@@ -5,7 +5,7 @@ extends 'Moose::Meta::Method';
 
 use Carp;
 
-sub new {
+sub wrap {
     my $class = shift;
     my %args  = @_;
 
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  = @_;