Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix link from classtut to Roles section in objects doc
  • Loading branch information
Paul Cochrane committed Jun 14, 2015
1 parent 0de156d commit 2ee4b15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Language/classtut.pod
Expand Up @@ -506,7 +506,7 @@ it is important to understand that there are more useful OOP concepts. When
reaching for multiple inheritance it is good practice to consider whether
the design wouldn't be better realized by using roles, which are generally
safer because they force the class author to explicitly resolve conflicting
method names. For more information on roles see A<sec:roles>.
method names. For more information on roles see L<Roles|/language/objects#Roles>.
=head1 Introspection
Expand Down
4 changes: 3 additions & 1 deletion lib/Language/objects.pod
Expand Up @@ -513,7 +513,9 @@ order:
}
}
=head1 X<Roles|declarator,role>
=head1 Roles
X<Roles|declarator,role>
Roles are in some ways similar to classes, in that they are a collection of
attributes and methods. They differ in that roles are also meant for
Expand Down

0 comments on commit 2ee4b15

Please sign in to comment.