Skip to content

Commit

Permalink
Update tests/docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulif committed Mar 4, 2010
1 parent 6df338f commit ae4d3e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/grokcore/message/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,14 @@ grokked (see examples below).
It provides the methods required by the IMessageSource interface:

>>> from z3c.flashmessage.interfaces import IMessageSource
>>> from zope.interface import verify
>>> from grokcore.message import UniqueMessageSource
>>> IMessageSource.implementedBy(UniqueMessageSource)
>>> verify.verifyClass(IMessageSource, UniqueMessageSource)
True

Methods:

**UniqueMessageSource.send(message, type)**
**UniqueMessageSource.send(message[, type=u'message'])**
Send a message ``message`` of type ``type``.

**UniqueMessageSource.list(type=None)**
Expand Down

0 comments on commit ae4d3e3

Please sign in to comment.