Skip to content

Commit

Permalink
Fixed two bad POD keywords for programlisting sections - s/=being/=be…
Browse files Browse the repository at this point in the history
…gin/
  • Loading branch information
Util committed Jun 5, 2010
1 parent 07fd0ad commit b3a2e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/roles.pod
Expand Up @@ -168,7 +168,7 @@ If this were all that roles provided, they'd have few advantages over
inheritance or mixins. Roles get much more interesting in the case of a
conflict. Consider the class definition:

=being programlisting
=begin programlisting

class MyBot is IRCBot does AnswerToAll does AnswerIfTalkedTo {
}
Expand All @@ -191,7 +191,7 @@ and should choose to compose only one role to provide the desired behavior. An
alternative way to resolve a conflict is to write a method with the same name
in the class body itself:

=being programlisting
=begin programlisting

class MyBot is IRCBot does AnswerToAll does AnswerIfTalkedTo {
method process($raw-in) {
Expand Down

0 comments on commit b3a2e1c

Please sign in to comment.