Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename the meta method's clone method to reify.

clone already has a special meaning within moose.
  • Loading branch information...
commit f87f11b3473c90c14bda4b3e3460d9d94e309003 1 parent 478104b
@rafl authored
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};
Please sign in to comment.
Something went wrong with that request. Please try again.