Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip Moose::Role's

Signed-off-by: Alexei Znamensky <russoz@cpan.org>
  • Loading branch information...
commit ca0ef12fe9997a8c376bc167e00efadb36a1ff13 1 parent 76e534a
Alexei Znamensky russoz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/Pod/Weaver/Section/ClassMopper.pm
2  lib/Pod/Weaver/Section/ClassMopper.pm
View
@@ -79,6 +79,7 @@ sub _build_attributes {
my $self = shift;
my $meta = $self->_class;
return unless ref $meta;
+ return if $meta->isa('Moose::Meta::Role');
my @attributes = $meta->get_all_attributes;
if( @attributes ) {
my @chunks = map { $self->_build_attribute_paragraph( $_ ) } @attributes;
@@ -90,6 +91,7 @@ sub _build_methods {
my $self = shift;
my $meta = $self->_class;
return unless ref $meta;
+ return if $meta->isa('Moose::Meta::Role');
my @methods = $meta->get_all_methods;
if( @methods ) {
Please sign in to comment.
Something went wrong with that request. Please try again.