Permalink
Browse files

Rename the meta method's clone method to reify.

clone already has a special meaning within moose.
  • Loading branch information...
1 parent 478104b commit f87f11b3473c90c14bda4b3e3460d9d94e309003 @rafl committed Aug 31, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/MooseX/Method/Signatures.pm
  2. +1 −1 lib/MooseX/Method/Signatures/Meta/Method.pm
View
2 lib/MooseX/Method/Signatures.pm
@@ -240,7 +240,7 @@ sub _parser {
my $create_meta_method = sub {
my ($code, $pkg, $meth_name, @args) = @_;
subname $pkg . "::" .$meth_name, $code;
- return $proto_method->clone(
+ return $proto_method->reify(
actual_body => $code,
package_name => $pkg,
name => $meth_name,
View
2 lib/MooseX/Method/Signatures/Meta/Method.pm
@@ -187,7 +187,7 @@ sub wrap {
return $self;
}
-sub clone {
+sub reify {
my ($self, %params) = @_;
my $trait_args = delete $params{trait_args};

0 comments on commit f87f11b

Please sign in to comment.