Mercurial > pub > Impl
diff Lib/IMPL/lang.pm @ 275:6253872024a4
*refactoring IMPL::Class
author | cin |
---|---|
date | Thu, 31 Jan 2013 02:18:31 +0400 |
parents | 8d36073411b1 |
children | 4ddb27ff4a0b |
line wrap: on
line diff
--- a/Lib/IMPL/lang.pm Wed Jan 30 03:30:28 2013 +0400 +++ b/Lib/IMPL/lang.pm Thu Jan 31 02:18:31 2013 +0400 @@ -82,19 +82,19 @@ } sub public($) { - $_[0]->Access(ACCESS_PUBLIC); + $_[0]->access(ACCESS_PUBLIC); $_[0]->Implement; $_[0]; } sub private($) { - $_[0]->Access(ACCESS_PRIVATE); + $_[0]->access(ACCESS_PRIVATE); $_[0]->Implement; $_[0]; } sub protected($) { - $_[0]->Access(ACCESS_PROTECTED); + $_[0]->access(ACCESS_PROTECTED); $_[0]->Implement; $_[0]; } @@ -103,10 +103,10 @@ my ( $propName, $mutators, $attributes ) = @_; my $Info = new IMPL::Class::PropertyInfo( { - Name => $propName, - Mutators => $mutators, - Class => scalar(caller), - Attributes => $attributes + name => $propName, + mutators => $mutators, + class => scalar(caller), + attributes => $attributes } ); return $Info;