diff options
author | franck cuny <franck@lumberjaph.net> | 2010-02-14 12:08:13 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-02-14 12:08:13 +0100 |
commit | 704ef15f8aad5a7c608893fff20663ca80e0bb2d (patch) | |
tree | a0f64a220e24a5467a74adbcb69ed5b94f82e91b | |
parent | make push_* private and use wrap instead of new (diff) | |
download | moosex-privacy-704ef15f8aad5a7c608893fff20663ca80e0bb2d.tar.gz |
rename new => wrap
-rw-r--r-- | lib/MooseX/Privacy/Meta/Method/Private.pm | 2 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Method/Protected.pm | 2 |
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 = @_; |