From: Dave Rolsky Date: Thu, 4 Dec 2008 17:13:16 +0000 (+0000) Subject: Fix a method name to actually reflect what it does X-Git-Tag: 0.71_02~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc79f8a314046d2292be64c515c224c20b7a1026;p=gitmo%2FClass-MOP.git Fix a method name to actually reflect what it does --- diff --git a/lib/Class/MOP/Immutable.pm b/lib/Class/MOP/Immutable.pm index 494a340..651be2e 100644 --- a/lib/Class/MOP/Immutable.pm +++ b/lib/Class/MOP/Immutable.pm @@ -119,7 +119,7 @@ sub make_metaclass_immutable { $self->_inline_accessors( $metaclass, \%options ); $self->_inline_constructor( $metaclass, \%options ); $self->_inline_destructor( $metaclass, \%options ); - $self->_memoize_methods( $metaclass, \%options ); + $self->_check_memoized_methods( $metaclass, \%options ); $metaclass->{'___original_class'} = blessed($metaclass); bless $metaclass => $self->immutable_metaclass->name; @@ -185,7 +185,7 @@ sub _inline_destructor { $metaclass->add_method( 'DESTROY' => $destructor ) } -sub _memoize_methods { +sub _check_memoized_methods { my ( $self, $metaclass, $options ) = @_; my $memoized_methods = $self->options->{memoize};