Skip to content

Commit

Permalink
Rename the meta method's clone method to reify.
Browse files Browse the repository at this point in the history
clone already has a special meaning within moose.
  • Loading branch information
rafl committed Aug 31, 2009
1 parent 478104b commit f87f11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/MooseX/Method/Signatures.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ sub _parser {
my $create_meta_method = sub { my $create_meta_method = sub {
my ($code, $pkg, $meth_name, @args) = @_; my ($code, $pkg, $meth_name, @args) = @_;
subname $pkg . "::" .$meth_name, $code; subname $pkg . "::" .$meth_name, $code;
return $proto_method->clone( return $proto_method->reify(
actual_body => $code, actual_body => $code,
package_name => $pkg, package_name => $pkg,
name => $meth_name, name => $meth_name,
Expand Down
2 changes: 1 addition & 1 deletion lib/MooseX/Method/Signatures/Meta/Method.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ sub wrap {
return $self; return $self;
} }


sub clone { sub reify {
my ($self, %params) = @_; my ($self, %params) = @_;
my $trait_args = delete $params{trait_args}; my $trait_args = delete $params{trait_args};


Expand Down

0 comments on commit f87f11b

Please sign in to comment.