version bump for 1.9903
[gitmo/Moose.git] / lib / Moose / Meta / Role / Composite.pm
index 36b6b6f..e3a6d57 100644 (file)
@@ -6,10 +6,6 @@ use metaclass;
 
 use Scalar::Util 'blessed';
 
-our $VERSION   = '0.93_02';
-$VERSION = eval $VERSION;
-our $AUTHORITY = 'cpan:STEVAN';
-
 use base 'Moose::Meta::Role';
 
 # NOTE:
@@ -57,7 +53,6 @@ sub new {
             roles        => [ @composition_roles ],
             cache        => 1,
         );
-        $meta->add_method(meta => sub { $meta });
         $class = $meta->name;
     }
 
@@ -101,6 +96,11 @@ sub get_method_list {
     return keys %{ $self->_method_map };
 }
 
+sub _get_local_methods {
+    my $self = shift;
+    return values %{ $self->_method_map };
+}
+
 sub has_method {
     my ($self, $method_name) = @_;
 
@@ -142,14 +142,12 @@ sub reinitialize {
 
 1;
 
+# ABSTRACT: An object to represent the set of roles
+
 __END__
 
 =pod
 
-=head1 NAME
-
-Moose::Meta::Role::Composite - An object to represent the set of roles
-
 =head1 DESCRIPTION
 
 A composite is a role that consists of a set of two or more roles.
@@ -201,17 +199,4 @@ string with the package name, as there is no real package for composite roles.
 
 See L<Moose/BUGS> for details on reporting bugs.
 
-=head1 AUTHOR
-
-Stevan Little E<lt>stevan@iinteractive.comE<gt>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright 2006-2010 by Infinity Interactive, Inc.
-
-L<http://www.iinteractive.com>
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
 =cut